共用方式為


CLUSPROP_PROPERTY_NAME structure

Describes the name of a property. It is used as an entry in a value list and consists of:

  • A CLUSPROP_VALUE structure describing the format, type, and length of the property name.
  • A null-terminated Unicode string.

For convenience, the CLUSPROP_VALUE members are listed explicitly:

Syntax

typedef struct _CLUSPROP_PROPERTY_NAME {
  CLUSPROP_SYNTAX Syntax;
  DWORD           cbLength;
  WCHAR           sz[];
} CLUSPROP_PROPERTY_NAME, *PCLUSPROP_PROPERTY_NAME;

Members

  • Syntax
    Member of the CLUSPROP_VALUE structure with a value of CLUSPROP_SYNTAX_NAME (0x00040003).

  • cbLength
    Member of the CLUSPROP_VALUE structure indicating the count of bytes in the property name string. Padding bytes are not included in the count.

  • sz
    Array of characters that contains the property name string.

Remarks

Use the CLUSPROP_PROPERTY_NAME_DECLARE macro to initialize a CLUSPROP_PROPERTY_NAME 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_PROPERTY_NAME_DECLARE