Author: greatlrd
Date: Sat Aug 25 18:23:48 2007
New Revision: 28543
URL:
http://svn.reactos.org/svn/reactos?rev=28543&view=rev
Log:
move EngFreeModule, EngGetCurrentCodePage, EngGetPrinterDataFileName, EngLoadModule from
stub.c to eng.c
Modified:
trunk/reactos/dll/win32/gdi32/misc/stubs.c
trunk/reactos/dll/win32/gdi32/objects/eng.c
Modified: trunk/reactos/dll/win32/gdi32/misc/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/misc/stubs…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/misc/stubs.c (original)
+++ trunk/reactos/dll/win32/gdi32/misc/stubs.c Sat Aug 25 18:23:48 2007
@@ -2457,28 +2457,6 @@
return 0;
}
-
-/*
- * @implemented
- */
-VOID STDCALL
-EngFreeModule(HANDLE h)
-{
- FreeLibrary(h);
-}
-
-/*
- * @implemented
- */
-
-VOID STDCALL
-EngGetCurrentCodePage(OUT PUSHORT OemCodePage,
- OUT PUSHORT AnsiCodePage)
-{
- *OemCodePage = GetOEMCP();
- *AnsiCodePage = GetACP();
-}
-
/*
* @unimplemented
*/
@@ -2488,24 +2466,6 @@
UNIMPLEMENTED;
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
-}
-
-/*
- * @implemented
- */
-LPWSTR STDCALL
-EngGetPrinterDataFileName(HDEV hdev)
-{
- return EngGetDriverName(hdev);
-}
-
-/*
- * @implemented
- */
-HANDLE STDCALL
-EngLoadModule(LPWSTR pwsz)
-{
- return LoadLibraryExW ( pwsz, NULL, LOAD_LIBRARY_AS_DATAFILE);
}
@@ -2521,9 +2481,6 @@
{
return
MultiByteToWideChar(CodePage,0,MultiByteString,BytesInMultiByteString,WideCharString,BytesInWideCharString
/ sizeof(WCHAR));
}
-
-
-
/*
* @implemented
@@ -2942,3 +2899,4 @@
UNIMPLEMENTED;
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
}
+
Modified: trunk/reactos/dll/win32/gdi32/objects/eng.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/objects/en…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/objects/eng.c (original)
+++ trunk/reactos/dll/win32/gdi32/objects/eng.c Sat Aug 25 18:23:48 2007
@@ -78,3 +78,44 @@
return (PVOID) Lock;
}
+/*
+ * @implemented
+ */
+VOID STDCALL
+EngFreeModule(HANDLE h)
+{
+ FreeLibrary(h);
+}
+
+/*
+ * @implemented
+ */
+
+VOID STDCALL
+EngGetCurrentCodePage( OUT PUSHORT OemCodePage,
+ OUT PUSHORT AnsiCodePage)
+{
+ *OemCodePage = GetOEMCP();
+ *AnsiCodePage = GetACP();
+}
+
+
+/*
+ * @implemented
+ */
+LPWSTR STDCALL
+EngGetPrinterDataFileName(HDEV hdev)
+{
+ return EngGetDriverName(hdev);
+}
+
+/*
+ * @implemented
+ */
+HANDLE STDCALL
+EngLoadModule(LPWSTR pwsz)
+{
+ return LoadLibraryExW ( pwsz, NULL, LOAD_LIBRARY_AS_DATAFILE);
+}
+
+