PVOID EngFindResource(
HANDLE h, | |
int iName, | |
int iType, | |
PULONG pulSize | |
); |
EngFindResource determines the location of a resource in a module.
Parameters
h
Handle to the module that contains the resource. This handle is obtained from EngLoadModule.
iName
Integer identifier representing the name of the resource being looked up.
iType
Integer identifier representing the type of the resource being looked up.
pulSize
Pointer to a ULONG in which the resource’s size, in bytes, is returned.
Return Value
The return value is a pointer to the address of the specified resource. null is returned if an error occurs.
Comments
The size of a successfully located resource is returned in pulSize.
See Also