Group: Resource - Library: kernel32
The FindResource function determines the location of a resource with the specified type and name in the specified module.
Storing registration key in the resources of an executable file
Exporting DLL icon resources as .ICO files
HRSRC FindResource(
HMODULE hModule,
LPCTSTR lpName,
LPCTSTR lpType
);
DECLARE INTEGER FindResource IN kernel32;
INTEGER hModule,;
INTEGER lpName,;
INTEGER lpType
hModule [in] Handle to the module whose executable file contains the resource.
lpName [in] Specifies the name of the resource.
lpType [in] Specifies the resource type.
If the function succeeds, the return value is a handle to the specified resource"s information block. To obtain a handle to the resource, pass this handle to the LoadResource function.
For hModule a value of NULL specifies the module handle associated with the image file that the operating system used to create the current process.
To specify a language, use the FindResourceEx function.