The CLUSPROP_VALUE structure describes the syntax and length of a data value used in a value list. The CLUSPROP_VALUE structure is used as a generic header in all of the structures that describe data of a particular type, such as CLUSPROP_BINARY and CLUSPROP_SZ. The CLUSPROP_VALUE structure is defined in CLUSAPI.H.
typedef struct _CLUSPROP_VALUE {
CLUSPROP_SYNTAX Syntax;
DWORD cbLength;
} CLUSPROP_VALUE, *PCLUSPROP_VALUE;
The CLUSPROP_VALUE structure is used to describe the format, type, and length of a data value in the following structures:
To ensure that entries in a property list are properly aligned, do not use the malloc function to allocate the memory for these entries. Instead, use the Win32® function LocalAlloc.
The following code sample illustrates how to access an entry in a property list:
CLUSPROP_BUFFER_HELPER buf;
buf.pb += sizeof(*(buf.pValue)) + ALIGN_CLUSPROP
(buf.pValue->cbLength);
Version: Use Windows NT Server Enterprise Edition 4.0.
Windows CE: Unsupported.
Header: Declared in clusapi.h.