Group: Resource - Library: kernel32
Storing registration key in the resources of an executable file
Exporting DLL icon resources as .ICO files
DWORD SizeofResource(
HMODULE hModule,
HRSRC hResInfo
);
DECLARE INTEGER SizeofResource IN kernel32;
INTEGER hModule,;
INTEGER hResInfo
hModule [in] Handle to the module whose executable file contains the resource.
hResInfo [in] Handle to the resource. This handle must be created by using the FindResource or FindResourceEx function.
If the function succeeds, the return value is the number of bytes in the resource.