mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
Simple implementation of GetCPInfo
svn path=/trunk/; revision=4557
This commit is contained in:
parent
728ac0f0b5
commit
628cc3fad9
1 changed files with 18 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: stubs.c,v 1.48 2003/04/18 08:26:50 gvg Exp $
|
/* $Id: stubs.c,v 1.49 2003/04/20 19:42:11 gvg Exp $
|
||||||
*
|
*
|
||||||
* KERNEL32.DLL stubs (unimplemented functions)
|
* KERNEL32.DLL stubs (unimplemented functions)
|
||||||
* Remove from this file, if you implement them.
|
* Remove from this file, if you implement them.
|
||||||
|
@ -317,12 +317,26 @@ GetBinaryTypeA (
|
||||||
WINBOOL
|
WINBOOL
|
||||||
STDCALL
|
STDCALL
|
||||||
GetCPInfo (
|
GetCPInfo (
|
||||||
UINT a0,
|
UINT CodePage,
|
||||||
LPCPINFO a1
|
LPCPINFO CodePageInfo
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
unsigned i;
|
||||||
|
|
||||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
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
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue