EngFindResource function

The EngFindResource function determines the location of a resource in a module.

Syntax


PVOID EngFindResource(
  _In_  HANDLE h,
  _In_  int    iName,
  _In_  int    iType,
  _Out_ PULONG pulSize
);

Parameters

h [in]

Handle to the module that contains the resource. This handle is obtained from EngLoadModule.

iName [in]

Is an integer identifier representing the name of the resource being looked up.

iType [in]

Is an integer identifier representing the type of the resource being looked up.

pulSize [out]

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

Target platform

Universal

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Winddi.h (include Winddi.h)

Library

Win32k.lib

DLL

Win32k.sys

See also

EngLoadModule
EngMapModule

 

 

Send comments about this topic to Microsoft

Show: