Added VERSION_IsOsUnicode().
This commit is contained in:
parent
c36a154ebb
commit
a29dab2ee8
|
@ -12,5 +12,6 @@ typedef enum
|
||||||
|
|
||||||
extern WINDOWS_VERSION VERSION_GetVersion();
|
extern WINDOWS_VERSION VERSION_GetVersion();
|
||||||
extern char *VERSION_GetVersionName();
|
extern char *VERSION_GetVersionName();
|
||||||
|
extern BOOL32 VERSION_OsIsUnicode(void);
|
||||||
|
|
||||||
#endif /* __WINE_WINVERSION_H */
|
#endif /* __WINE_WINVERSION_H */
|
||||||
|
|
|
@ -359,3 +359,21 @@ UINT32 WINAPI OaBuildVersion()
|
||||||
return 0x0;
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue