kernel32: Add DECLSPEC_HOTPATCH to SizeofResource().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=28140 Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6b2c2eb76d
commit
002a19599b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue