CLUSPROP_SZ structure

Describes a null-terminated Unicode string. It is used as an entry in a value list and consists of:

  • A CLUSPROP_VALUE structure indicating the format and type of string.
  • A null-terminated Unicode string.

For convenience, the CLUSPROP_VALUE members are listed explicitly.

Syntax


typedef struct _CLUSPROP_SZ {
  CLUSPROP_SYNTAX Syntax;
  DWORD           cbLength;
  WCHAR           sz[];
} CLUSPROP_SZ, *PCLUSPROP_SZ;

Members

Syntax

Member of the CLUSPROP_VALUE structure with a value of CLUSPROP_SYNTAX_LIST_VALUE_SZ (0x00010003), CLUSPROP_SYNTAX_LIST_VALUE_EXPAND_SZ (0x00010004), CLUSPROP_SYNTAX_LIST_VALUE_MULTI_SZ (0x00010005), or CLUSPROP_SYNTAX_LIST_VALUE_EXPANDED_SZ (0x00010008).

cbLength

Member of the CLUSPROP_VALUE structure indicating the count of bytes in the sz member. Padding bytes are not included in the count.

sz

Array of Unicode characters ending with a NULL terminator.

Remarks

Use the CLUSPROP_SZ_DECLARE macro to initialize a CLUSPROP_SZ structure.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Enterprise, Windows Server 2008 Datacenter

Header

ClusAPI.h

See also

Data structures
CLUSPROP_SYNTAX
CLUSPROP_VALUE
CLUSPROP_SZ_DECLARE

 

 

Show: