(5th) Janitorial dlls/advapi32/registry.c W->A cleanup
tony_lambregts at telusplanet.net
Tue Mar 11 16:16:00 CST 2003
Alexandre Julliard wrote:
> "Dmitry Timoshkov" <dmitry at baikal.ru> writes:
>>There should be a way of using at least exported unicode APIs from ntdll,
>>but currently there is no even a header with their function prototypes.
>>Probably a better way would be to add wrappers for ntdll unicode APIs to
>>wine_unicode and use them instead. Alexandre, what way would you prefer?
> We could certainly have a Unicode printf in libwine_unicode. Most of
> the other functions should already have an equivalent AFAICS.
So is this what you had in mind? (cvs is not working for me right now)
--- clean/include/wine/unicode.h Thu Jan 2 12:25:44 2003
+++ wine/include/wine/unicode.h Tue Mar 11 13:15:26 2003
@@ -76,6 +76,7 @@
extern WCHAR *strstrW( const WCHAR *str, const WCHAR *sub );
extern long int strtolW( const WCHAR *nptr, WCHAR **endptr, int base );
extern unsigned long int strtoulW( const WCHAR *nptr, WCHAR **endptr, int base );
+extern int swprintf(WCHAR *str, const WCHAR *format, ...);
static inline int is_dbcs_leadbyte( const union cptable *table, unsigned char ch )
More information about the wine-devel