Gijs Vermeulen : kernel32: Add DECLSPEC_HOTPATCH to SizeofResource().

Alexandre Julliard julliard at winehq.org
Tue Apr 2 16:09:59 CDT 2019


Module: wine
Branch: master
Commit: 002a19599be273b9f947425a820897816317c378
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=002a19599be273b9f947425a820897816317c378

Author: Gijs Vermeulen <gijsvrm at gmail.com>
Date:   Tue Apr  2 18:46:15 2019 +0200

kernel32: Add DECLSPEC_HOTPATCH to SizeofResource().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=28140
Signed-off-by: Gijs Vermeulen <gijsvrm at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/kernel32/resource.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/kernel32/resource.c b/dlls/kernel32/resource.c
index a04fe62..5c9383d 100644
--- a/dlls/kernel32/resource.c
+++ b/dlls/kernel32/resource.c
@@ -617,7 +617,7 @@ BOOL WINAPI FreeResource( HGLOBAL handle )
 /**********************************************************************
  *	    SizeofResource   (KERNEL32.@)
  */
-DWORD WINAPI SizeofResource( HINSTANCE hModule, HRSRC hRsrc )
+DWORD WINAPI DECLSPEC_HOTPATCH SizeofResource( HINSTANCE hModule, HRSRC hRsrc )
 {
     if (!hRsrc) return 0;
     return ((PIMAGE_RESOURCE_DATA_ENTRY)hRsrc)->Size;




More information about the wine-cvs mailing list