Added VERSION_IsOsUnicode().

This commit is contained in:
Juergen Schmied 1998-10-24 09:19:10 +00:00 committed by Alexandre Julliard
parent c36a154ebb
commit a29dab2ee8
2 changed files with 19 additions and 0 deletions

View file

@ -12,5 +12,6 @@ typedef enum
extern WINDOWS_VERSION VERSION_GetVersion();
extern char *VERSION_GetVersionName();
extern BOOL32 VERSION_OsIsUnicode(void);
#endif /* __WINE_WINVERSION_H */

View file

@ -359,3 +359,21 @@ UINT32 WINAPI OaBuildVersion()
return 0x0;
}
}
/***********************************************************************
* VERSION_OsIsUnicode [internal]
*
* NOTES
* some functions getting sometimes LPSTR sometimes LPWSTR...
*
*/
BOOL32 VERSION_OsIsUnicode(void)
{
switch(VERSION_GetVersion())
{
case NT351:
case NT40:
return TRUE;
default:
return FALSE;
}
}