reactos/lib/kernel32/misc
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
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 */