Commit 002a1959 authored by Gijs Vermeulen's avatar Gijs Vermeulen Committed by Alexandre Julliard

kernel32: Add DECLSPEC_HOTPATCH to SizeofResource().

parent 6b2c2eb7
...@@ -617,7 +617,7 @@ BOOL WINAPI FreeResource( HGLOBAL handle ) ...@@ -617,7 +617,7 @@ BOOL WINAPI FreeResource( HGLOBAL handle )
/********************************************************************** /**********************************************************************
* SizeofResource (KERNEL32.@) * SizeofResource (KERNEL32.@)
*/ */
DWORD WINAPI SizeofResource( HINSTANCE hModule, HRSRC hRsrc ) DWORD WINAPI DECLSPEC_HOTPATCH SizeofResource( HINSTANCE hModule, HRSRC hRsrc )
{ {
if (!hRsrc) return 0; if (!hRsrc) return 0;
return ((PIMAGE_RESOURCE_DATA_ENTRY)hRsrc)->Size; return ((PIMAGE_RESOURCE_DATA_ENTRY)hRsrc)->Size;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment