Export (0) Print
Expand All

2.2.2.1 CLUSTER_PROPERTY_TYPE

The CLUSTER_PROPERTY_TYPE enumeration defines the property types that are supported by a clusterPROPERTY_LIST, as specified in section 2.2.3.10.

CLUSTER_PROPERTY_TYPE values are unsigned 16-bit integer values. CLUSTER_PROPERTY_TYPE values provide the upper 2 bytes for the CLUSTER_PROPERTY_SYNTAX values, as specified in section 2.2.2.3.

The CLUSTER_PROPERTY_TYPE values identify the type of data that is stored in a PROPERTY_LIST structure. Using the CLUSTER_PROPERTY_TYPE values, a client can parse a PROPERTY_LIST structure 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 following table specifies the valid constant values for CLUSTER_PROPERTY_TYPE. The server MUST return only the values listed in this table. 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
} 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 resource's class, 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.

 
Show:
© 2015 Microsoft