PATCH: stub for GetModuleHandleExW

Marcus Meissner marcus at jet.franken.de
Sat May 6 08:15:13 CDT 2006


Hi,

cleaning out my local patches

Changelog:
	Added stub for GetModuleHandleExW().

Index: dlls/kernel/kernel32.spec
===================================================================
RCS file: /home/wine/wine/dlls/kernel/kernel32.spec,v
retrieving revision 1.173
diff -u -r1.173 kernel32.spec
--- dlls/kernel/kernel32.spec	3 Apr 2006 19:46:59 -0000	1.173
+++ dlls/kernel/kernel32.spec	6 May 2006 13:14:34 -0000
@@ -541,7 +541,7 @@
 @ stdcall GetModuleFileNameW(long ptr long)
 @ stdcall GetModuleHandleA(str)
 # @ stub GetModuleHandleExA
-# @ stub GetModuleHandleExW
+@ stdcall GetModuleHandleExW(long wstr ptr)
 @ stdcall GetModuleHandleW(wstr)
 @ stdcall GetNamedPipeHandleStateA(long ptr ptr ptr ptr str long)
 @ stdcall GetNamedPipeHandleStateW(long ptr ptr ptr ptr wstr long)
Index: dlls/kernel/module.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel/module.c,v
retrieving revision 1.26
diff -u -r1.26 module.c
--- dlls/kernel/module.c	22 Feb 2006 16:33:43 -0000	1.26
+++ dlls/kernel/module.c	6 May 2006 13:14:34 -0000
@@ -526,6 +526,14 @@
     return ret;
 }
 
+/***********************************************************************
+ *		GetModuleHandleExW (KERNEL32.@)
+ *
+ */
+BOOL WINAPI GetModuleHandleExW(DWORD dwFlags, LPCWSTR module, HMODULE *hmod) {
+    FIXME("(0x%lx, %s, %p), stub!\n", dwFlags, debugstr_w(module), hmod);
+    return FALSE;
+}
 
 /***********************************************************************
  *              GetModuleFileNameA      (KERNEL32.@)



More information about the wine-patches mailing list