IGetClusterResourceInfo::GetResourceHandle

The IGetClusterResourceInfo::GetResourceHandle method retrieves a handle to a resource.

HRESOURCE GetResourceHandle(
  LONG lObjIndex  
);
 

Parameters

lObjIndex
[in] A number representing the zero-based index of the target resource. At present, lObjIndex is restricted to the number that can be retrieved by calling IGetClusterDataInfo::GetObjectCount.

Return Values

If GetResourceHandle is successful, it returns a handle for the resource represented by lObjIndex.

If GetResourceHandle is unsuccessful, it returns NULL. For more information about the error, call the Win32® function GetLastError.

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in cluadmex.h.