- Implemented GetACP() and GetOEMCP().

svn path=/trunk/; revision=10691
This commit is contained in:
Hartmut Birr
2004-08-26 16:03:09 +00:00
parent 3b571ec48d
commit 66ff876aa8
2 changed files with 21 additions and 33 deletions
+1 -33
View File
@@ -1,4 +1,4 @@
/* $Id: lang.c,v 1.21 2004/08/24 17:21:11 navaraf Exp $
/* $Id: lang.c,v 1.22 2004/08/26 16:03:09 hbirr Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT : ReactOS user mode libraries
@@ -316,23 +316,6 @@ EnumUILanguagesW(
return 0;
}
#ifndef _OLE2NLS_IN_BUILD_
/*
* @unimplemented
*/
UINT
STDCALL
GetACP (VOID)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 1252;
}
#endif
/*
* @unimplemented
*/
@@ -779,21 +762,6 @@ INT STDCALL GetLocaleInfoA( LCID lcid, LCTYPE lctype, LPSTR buffer, INT len )
}
/*
* @unimplemented
*/
UINT
STDCALL
GetOEMCP (VOID)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 437; /* FIXME: call csrss.exe */
}
#ifndef _OLE2NLS_IN_BUILD_
/*
+20
View File
@@ -794,4 +794,24 @@ WideCharToMultiByte(UINT CodePage, DWORD Flags,
}
}
/*
* @implemented
*/
UINT
STDCALL
GetACP (VOID)
{
return AnsiCodePage.CodePageTable.CodePage;
}
/*
* @implemented
*/
UINT
STDCALL
GetOEMCP (VOID)
{
return OemCodePage.CodePageTable.CodePage;
}
/* EOF */