The CLUSCTL_RESOURCE_GET_NAME control code is used to retrieve the name of a resource.
| Type: | External |
| Access: | CLUS_ACCESS_READ |
| Input: | None |
| Output: | Null-terminated Unicode string |
| Global: | CLUS_NOT_GLOBAL |
| Modify: | CLUS_NO_MODIFY |
| Code: | CLCTL_GET_NAME |
The name of a resource is stored in the resource's Name property. To retrieve the Name property along with the other common read-only resource properties, call ClusterResourceControl with the CLUSCTL_RESOURCE_GET_RO_COMMON_PROPERTIES control code.
Handling CLUSCTL_RESOURCE_GET_NAME is optional. Default functionality is provided by the Resource Monitor.