The CLUSCTL_RESOURCE_TYPE_UNKNOWN control code is used to test whether or not a resource DLL supports control code processing for resource types.
| Type: | External |
| Access: | CLUS_ACCESS_READ |
| Input: | None |
| Output: | None |
| Global: | CLUS_NOT_GLOBAL |
| Modify: | CLUS_NO_MODIFY |
| Control Code: | CLCTL_UNKNOWN |
A return value of ERROR_SUCCESS from ClusterResourceTypeControl when you pass the CLUSCTL_RESOURCE_TYPE_UNKNOWN control code indicates that your application is communicating directly with a resource DLL that supports control code processing rather than through a Resource Monitor. A return value of ERROR_INVALID_FUNCTION indicates that your application is not communicating directly with a resource DLL.
If you support any other control codes for resource types, return ERROR_SUCCESS from ResourceTypeControl. If you do not support any other resource type control codes, return ERROR_INVALID_FUNCTION.