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:
Gijs Vermeulen 2019-04-02 18:46:15 +02:00 committed by Alexandre Julliard
parent 6b2c2eb76d
commit 002a19599b
1 changed files with 1 additions and 1 deletions

View File

@ -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;