Commit in reactos/lib/kernel32/misc on MAIN
lang.c+1-331.21 -> 1.22
nls.c+201.1 -> 1.2
+21-33
2 modified files
- Implemented GetACP() and GetOEMCP().

reactos/lib/kernel32/misc
lang.c 1.21 -> 1.22
diff -u -r1.21 -r1.22
--- lang.c	24 Aug 2004 17:21:11 -0000	1.21
+++ lang.c	26 Aug 2004 16:03:09 -0000	1.22
@@ -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 @@
     return 0;
 }
 
-
-#ifndef _OLE2NLS_IN_BUILD_
-
-/*
- * @unimplemented
- */
-UINT
-STDCALL
-GetACP (VOID)
-{
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return 1252;
-}
-
-#endif
-
-
 /*
  * @unimplemented
  */
@@ -779,21 +762,6 @@
 }
 
 
-
-
-
-/*
- * @unimplemented
- */
-UINT
-STDCALL
-GetOEMCP (VOID)
-{
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return 437; /* FIXME: call csrss.exe */
-}
-
-
 #ifndef _OLE2NLS_IN_BUILD_
 
 /*

reactos/lib/kernel32/misc
nls.c 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- nls.c	24 Aug 2004 17:21:11 -0000	1.1
+++ nls.c	26 Aug 2004 16:03:09 -0000	1.2
@@ -794,4 +794,24 @@
    }
 }
 
+/*
+ * @implemented
+ */
+UINT
+STDCALL
+GetACP (VOID)
+{
+    return AnsiCodePage.CodePageTable.CodePage;
+}
+
+/*
+ * @implemented
+ */
+UINT
+STDCALL
+GetOEMCP (VOID)
+{
+    return OemCodePage.CodePageTable.CodePage;
+}
+
 /* EOF */
CVSspam 0.2.8