=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: kernel32: Make GetModuleHandleA hotpatchable.

Alexandre Julliard julliard at winehq.org
Thu Mar 8 14:26:24 CST 2012


Module: wine
Branch: master
Commit: 6d66de583fe218d37c90a69e45977f4764e2ab70
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6d66de583fe218d37c90a69e45977f4764e2ab70

Author: André Hentschel <nerv at dawncrow.de>
Date:   Thu Mar  8 15:00:25 2012 +0100

kernel32: Make GetModuleHandleA hotpatchable.

---

 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;
 




More information about the wine-cvs mailing list