EngFindResource function (winddi.h)
The EngFindResource function determines the location of a resource in a module.
Syntax
ENGAPI PVOID EngFindResource(
[in] HANDLE h,
[in] int iName,
[in] int iType,
[out] PULONG pulSize
);
Parameters
[in] h
Handle to the module that contains the resource. This handle is obtained from EngLoadModule.
[in] iName
Is an integer identifier representing the name of the resource being looked up.
[in] iType
Is an integer identifier representing the type of the resource being looked up.
[out] 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. The function returns NULL if an error occurs.
Remarks
The size of a successfully located resource is returned in pulSize.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows 2000 and later versions of the Windows operating systems. |
Target Platform | Universal |
Header | winddi.h (include Winddi.h) |
Library | Win32k.lib |
DLL | Win32k.sys |