IGetClusterResourceInfo::GetResourceHandle method (cluadmex.h)

[This method is available for use in the operating systems specified in the Requirements section. Support for this method was removed in Windows Server 2008.]

Returns a handle to a resource.

Syntax

HRESOURCE GetResourceHandle(
  [in] LONG lObjIndex
);

Parameters

[in] lObjIndex

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

Return value

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

If GetResourceHandle is not successful, it returns NULL. For more information about the error, call the function GetLastError.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2003 Enterprise, Windows Server 2003 Datacenter
Target Platform Windows
Header cluadmex.h

See also

IGetClusterDataInfo::GetObjectCount

IGetClusterResourceInfo