GetACP (VOID)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ return 1252;
}
#endif
WINBOOL
STDCALL
GetCPInfo (
- UINT a0,
- LPCPINFO a1
+ UINT CodePage,
+ LPCPINFO CodePageInfo
)
{
+ unsigned i;
+
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+
+ CodePageInfo->MaxCharSize = 1;
+ CodePageInfo->DefaultChar[0] = '?';
+ for (i = 1; i < MAX_DEFAULTCHAR; i++)
+ {
+ CodePageInfo->DefaultChar[i] = '\0';
+ }
+ for (i = 0; i < MAX_LEADBYTES; i++)
+ {
+ CodePageInfo->LeadByte[i] = '\0';
+ }
+
+ return TRUE;
}
#endif