2.2.2.1 CLUSTER_PROPERTY_TYPE

The CLUSTER_PROPERTY_TYPE enumeration defines the property types that are supported by a cluster PROPERTY_LIST (section 2.2.3.10) structure.

CLUSTER_PROPERTY_TYPE values are unsigned 16-bit integer values. CLUSTER_PROPERTY_TYPE values provide the upper 2 bytes for the CLUSTER_PROPERTY_SYNTAX (section 2.2.2.3) enumeration values.

The CLUSTER_PROPERTY_TYPE values identify the type of data that is stored in a PROPERTY_LIST. Using the CLUSTER_PROPERTY_TYPE values, a client can parse a PROPERTY_LIST to associate the proper semantics with each data value in the list.

CLUSTER_PROPERTY_TYPE values MUST be used when specifying the type of data value that is stored in a PROPERTY_LIST. Any other value, when received in a form that specifies the type of data value that is stored in a PROPERTY_LIST, MUST be treated as an error.

The valid constant values for CLUSTER_PROPERTY_TYPE are listed below. The server MUST return only these values. All other values are reserved and MUST be treated as an error.

 typedef  enum 
 {
   CLUSPROP_TYPE_ENDMARK = 0x0000,
   CLUSPROP_TYPE_LIST_VALUE = 0x0001,
   CLUSPROP_TYPE_RESCLASS = 0x0002,
   CLUSPROP_TYPE_NAME = 0x0004,
   CLUSPROP_TYPE_SIGNATURE = 0x0005,
   CLUSPROP_TYPE_SCSIADDRESS = 0x0006,
   CLUSPROP_TYPE_DISK_NUMBER = 0x0007,
   CLUSPROP_TYPE_PARTITION_INFO = 0x0008,
   CLUSPROP_TYPE_DISK_SERIALNUMBER = 0x000a,
   CLUSPROP_TYPE_DISK_GUID = 0x000b,
   CLUSPROP_TYPE_DISK_SIZE = 0x000c,
   CLUSPROP_TYPE_PARTITION_INFO_EX = 0x000d,
   CLUSPROP_TYPE_PARTITION_INFO_EX2 = 0x000e
 } CLUSTER_PROPERTY_TYPE;

CLUSPROP_TYPE_ENDMARK: Indicates that the property type is an end mark. End marks denote the end of a value list.

CLUSPROP_TYPE_LIST_VALUE: Describes a data value in a property list. For example, in the property list passed to a control code function for a property validation operation, CLUSPROP_TYPE_LIST_VALUE is the type required for inclusion with each property value.

CLUSPROP_TYPE_RESCLASS: Indicates a property value that contains information about the class of the resource, as specified in section 2.2.3.7.

CLUSPROP_TYPE_NAME: Indicates a property name.

CLUSPROP_TYPE_SIGNATURE: Indicates a property value that contains a disk signature.

CLUSPROP_TYPE_SCSIADDRESS: Indicates a property value that contains a SCSI address, as specified in section 2.2.3.8.

CLUSPROP_TYPE_DISK_NUMBER: Indicates a property value that contains a disk number.

CLUSPROP_TYPE_PARTITION_INFO: Indicates a property value that contains the partition information from a partition of a storage device, as specified in section 2.2.3.9.

CLUSPROP_TYPE_DISK_SERIALNUMBER: Indicates a property value that contains a disk serial number.

CLUSPROP_TYPE_DISK_GUID: Indicates a property value that contains a GUID for a GUID partitioning table (GPT) disk, as specified in [MS-DTYP] section 2.3.4.

CLUSPROP_TYPE_DISK_SIZE: Indicates a property value that contains the total size of a disk, in bytes.

CLUSPROP_TYPE_PARTITION_INFO_EX: Indicates a property value that contains the extended partition information from a partition of a storage device, as specified in section 2.2.3.11.

CLUSPROP_TYPE_PARTITION_INFO_EX2: Indicates a property value that contains the extended partition information from a partition of a storage device, as specified in section 2.2.3.45.