SetClusterResourceName

The SetClusterResourceName function sets the name for a resource.

DWORD WINAPI SetClusterResourceName(
  HRESOURCE hResource,  
  LPCWSTR lpszResourceName  
);
 

Parameters

hResource
[in] Handle to a resource to rename.
lpszResourceName
[in] Pointer to the new name for the resource identified by hResource.

Return Values

ERROR_SUCCESS
The operation was successful.

If the operation was unsuccessful, SetClusterResourceName returns a Win32 error value.

QuickInfo

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