Resource Utility Functions

The resource utility functions allow applications and resource DLLs to enumerate resources, retrieve information about dependencies, and determine whether two resources or resource types are equal.

FunctionDescription

ResUtilEnumResources

Enumerates cluster resources and initiates an operation on each resource.

ResUtilEnumResourcesEx

Enumerates all of the resources in a specified cluster and initiates a user-defined operation for each resource.

ResUtilEnumResourcesEx2

Enumerates all of the resources in a specified cluster and initiates a user-defined operation for each resource.

Windows Server 2003 and Windows Server 2008:  This function is not supported before Windows Server 2012.

ResUtilFindDependentDiskResourceDriveLetter

Retrieves the drive letter associated with a Physical Disk dependency of a resource.

ResUtilFindFileTimeProperty

TBD

ResUtilGetClusterRoleState

Determines whether or not a specific role has been assigned to a cluster.

ResUtilGetCoreClusterResources

Returns handles to the core Network Name, IP Address, and quorum resources.

ResUtilGetCoreClusterResourcesEx

Returns handles to the core, Network Name, IP Address and quorum resources.

Windows Server 2003 and Windows Server 2008:  This function is not supported before Windows Server 2012.

ResUtilGetFileTimeProperty

TBD

ResUtilGetLongProperty

TBD

ResUtilGetQwordValue

TBD

ResUtilGetResourceDependency

Returns a handle to a dependent resource of a specified type.

ResUtilGetResourceDependencyEx

Enumerates the dependencies of a specified resource and returns a handle to a dependency of a specified type.

Windows Server 2003 and Windows Server 2008:  This function is not supported before Windows Server 2012.

ResUtilGetResourceDependencyByClass

Enumerates the dependencies of a specified resource in a specified cluster and returns a handle to a dependency that matches a specified resource class.

ResUtilGetResourceDependencyByClassEx

Enumerates the dependencies of a specified resource in a specified cluster and returns a handle to a dependency that matches a specified resource class.

Windows Server 2003 and Windows Server 2008:  This function is not supported before Windows Server 2012.

ResUtilGetResourceDependencyByName

Enumerates the dependencies of a specified resource in a specified cluster and returns a handle to a dependency of a specified type.

ResUtilGetResourceDependencyByNameEx

Enumerates the dependencies of a specified resource in a specified cluster and returns a handle to a dependency of a specified type.

Windows Server 2003 and Windows Server 2008:  This function is not supported before Windows Server 2012.

ResUtilGetResourceDependentIPAddressProps

Retrieves the private properties of the first IP Address dependency found for a specified resource.

ResUtilGetResourceName

Retrieves the name of a resource.

ResUtilGetResourceNameDependency

Returns a handle to a dependent resource of a specified name and type.

ResUtilGetResourceNameDependencyEx

Enumerates the dependencies of a specified resource in the local cluster and returns a handle to a dependency of a specified resource type.

Windows Server 2003 and Windows Server 2008:  This function is not supported before Windows Server 2012.

ResUtilIsResourceClassEqual

Determines whether the resource class of a specified resource is equal to a specified resource class.

ResUtilResourcesEqual

Determines whether two resource handles refer to the same resource.

ResUtilResourceTypesEqual

Determines whether the resource type of a resource matches a specified resource type name.

ResUtilSetQwordValue

TBD

 

Related topics

Failover Cluster Utility Functions

 

 

Show:
© 2014 Microsoft