CountedString structure (naptypes.h)

Note  The Network Access Protection platform is not available starting with Windows 10
 
The CountedString structure defines a null-terminated string with a defined length.

Syntax

typedef struct tagCountedString {
  UINT16 length;
  WCHAR  *string;
} CountedString;

Members

length

The size, in characters, of the string within the range 0 to maxStringLength.

Note  length does not include the null terminator.
 

string

A pointer to a null-terminated wide character string of size length + 1.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header naptypes.h

See also

NAP Reference

NAP Structures