The CLUSCTL_RESOURCE_TYPE_GET_FLAGS resource control code retrieves the flags associated with the designated resource type. Flags are used to identify the specific attributes and/or capabilities that are provided by the resource type. If the resource type provides multiple attributes and/or capabilities, the server MUST indicate each attribute and/or capability by setting a value for each attribute and/or capability.

After the successful completion of this method, the server MUST write the bitwise OR operator of the values of a CLUS_FLAGS enumeration (section The server MUST also write any unknown flag values appropriate for the designated resource to the buffer that is designated by lpOutBuffer. For example, unknown flag values might designate a custom resource type defined by a third party.

The server SHOULD accept a CLUSCTL_RESOURCE_TYPE_GET_FLAGS resource type control code request if its protocol server state is read-only, and the server MUST accept the request for processing if it is in the read/write state, as specified in section 3.1.1.