CLUSPROP_BUFFER_HELPER

The CLUSPROP_BUFFER_HELPER union is used to build or parse a property list or a value list. The CLUSPROP_BUFFER_HELPER structure is defined in CLUSAPI.H

typedef union _CLUSPROP_BUFFER_HELPER {
    BYTE *                          pb;
    WORD *                          pw;
    DWORD *                         pdw;
    LPWSTR                          psz;
    PCLUSPROP_LIST                  pList;
    PCLUSPROP_SYNTAX                pSyntax;
    PCLUSPROP_PROPERTY_NAME         pName;
    PCLUSPROP_VALUE                 pValue;
    PCLUSPROP_BINARY                pBinaryValue;
    PCLUSPROP_DWORD                 pDwordValue;
    PCLUSPROP_ULARGE_INTEGER        pULargeIntegerValue;
    PCLUSPROP_SZ                    pStringValue;
    PCLUSPROP_MULTI_SZ              pMultiSzValue;
    PCLUSPROP_RESOURCE_CLASS        pResourceClassValue;
    PCLUSPROP_RESOURCE_CLASS_INFO   pResourceClassInfoValue;
    PCLUSPROP_DISK_SIGNATURE        pDiskSignatureValue;
    PCLUSPROP_SCSI_ADDRESS          pScsiAddressValue;
    PCLUSPROP_DISK_NUMBER           pDiskNumberValue;
    PCLUSPROP_PARTITION_INFO        pPartitionInfoValue;
    PCLUSPROP_REQUIRED_DEPENDENCY   pRequiredDependencyValue;
} CLUSPROP_BUFFER_HELPER, *PCLUSPROP_BUFFER_HELPER;
 

Members

pb
Pointer to a buffer containing an array of bytes.
pw
Pointer to a buffer containing an array of WORD values.
pdw
Pointer to a buffer containing an array of DWORD values.
psz
Pointer to a buffer containing a null-terminated Unicode string value.
pList
Pointer to a CLUSPROP_LIST structure describing the beginning of a property list.
pSyntax
Pointer to a CLUSPROP_SYNTAX structure describing the format and type of a value.
pName
Pointer to a CLUSPROP_PROPERTY_NAME structure containing a property name value.
pValue
Pointer to a CLUSPROP_VALUE structure describing the format, type, and length of a data value.
pBinaryValue
Pointer to a CLUSPROP_BINARY structure containing a binary data value.
pDwordValue
Pointer to a CLUSPROP_DWORD structure containing a numeric data value.
pULargeIntegerValue
Pointer to a CLUSPROP_ULARGE_INTEGER structure containing an unsigned large integer value.
pStringValue
Pointer to a CLUSPROP_SZ structure containing a null-terminated Unicode string value.
pMultiSzValue
Pointer to a CLUSPROP_MULTI_SZ structure containing multiple null-terminated Unicode string values.
pResourceClassValue
Pointer to a CLUSPROP_RESOURCE_CLASS structure containing a resource class value.
pResourceClassInfoValue
Pointer to a CLUSPROP_RESOURCE_CLASS_INFO structure containing a resource class information value.
pDiskSignatureValue
Pointer to a CLUSPROP_DISK_SIGNATURE structure containing a disk signature value.
pScsiAddressValue
Pointer to a CLUSPROP_SCSI_ADDRESS structure containing a SCSI address value.
pDiskNumberValue
Pointer to a CLUSPROP_DISK_NUMBER structure containing a disk number value.
pPartitionInfoValue
Pointer to a CLUSPROP_PARTITION_INFO structure containing a partition information value.
pRequiredDependencyValue
Pointer to a CLUSPROP_REQUIRED_DEPENDENCY structure containing a resource dependency value.

Remarks

The CLUSPROP_BUFFER_HELPER structure is useful in working with property and value lists because it eliminates the need to cast to the appropriate data type.

An alternate structure, RESUTIL_PROPERTY_ITEM, can also be used to work with multiple properties.

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.