kernel32: Make GetModuleHandleA hotpatchable

André Hentschel nerv at dawncrow.de
Thu Mar 8 08:00:25 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=30000
---
 dlls/kernel32/module.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel32/module.c b/dlls/kernel32/module.c
index 1b0b23f..7d4d93b 100644
--- a/dlls/kernel32/module.c
+++ b/dlls/kernel32/module.c
@@ -558,7 +558,7 @@ BOOL WINAPI GetModuleHandleExW( DWORD flags, LPCWSTR name, HMODULE *module )
  *  Success: A handle to the loaded dll.
  *  Failure: A NULL handle. Use GetLastError() to determine the cause.
  */
-HMODULE WINAPI GetModuleHandleA(LPCSTR module)
+HMODULE WINAPI DECLSPEC_HOTPATCH GetModuleHandleA(LPCSTR module)
 {
     HMODULE ret;
 
-- 

Best Regards, André Hentschel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Nachrichtenteil als Anhang
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120308/f2a1f61e/attachment.ksh>


More information about the wine-patches mailing list