The CLUSCTL_RESOURCE_UNKNOWN control code is used to test whether or not a resource DLL supports control code processing for resources.
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 ClusterResourceControl when you pass the CLUSCTL_RESOURCE_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 resources, return ERROR_SUCCESS from ResourceControl when CLUSCTL_RESOURCE_UNKNOWN is passed in. If you do not support any other resource control codes, return ERROR_INVALID_FUNCTION.