[4/4] Add test for IDirectInputDevice_GetProperty of keyboard device for unicode and ascii case.

Vitaliy Margolen wine-devel at kievinfo.com
Sun Apr 20 20:16:13 CDT 2008

Sergey Khodych wrote:
> ------------------------------------------------------------------------

> +    result =  wcsncmp( dipsw.wsz, dipsa.wsz, sizeof( dipsw.wsz )/sizeof( dipsw.wsz[0] ) );
UNIX unicode and windows unicode are two separate things. Don't use 
functions that work with wchar_t - they are not compatible with Wine. Use 
Wine's own unicode functions instead. For example here you can use lstrcmpW().


More information about the wine-devel mailing list