Control Codes and Quorum Resources

The ResourceControl entry point function for quorum resources must handle the following control codes:

Handling CLUSCTL_RESOURCE_GET_CLASS_INFO identifies a quorum resource as a storage device. Handling CLUSCTL_RESOURCE_STORAGE_GET_DISK_INFO allows Cluster Administrator to display partition information about a quorum resource.

In your handling of CLUSCTL_RESOURCE_GET_CLASS_INFO, return a CLUS_RESOURCE_CLASS_INFO structure that is set as follows:

CLUS_RESOURCE_CLASS_INFO ClassInfo;
ClassInfo.rc = CLUS_RESCLASS_STORAGE;
ClassInfo.SubClass = CLUS_RESSUBCLASS_SHARED;
 

Setting these values in the CLUS_RESOURCE_CLASS_INFO structure makes a resource look like shared storage.