IF_COUNTED_STRING structure

The IF_COUNTED_STRING structure specifies a counted string for NDIS interfaces.

Syntax


typedef struct _IF_COUNTED_STRING {
  USHORT Length;
  WCHAR  String[IF_MAX_STRING_SIZE + 1];
} IF_COUNTED_STRING, *PIF_COUNTED_STRING;

Members

Length

A USHORT value that contains the length, in bytes, of the string.

String

A WCHAR buffer that contains the string. The string does not need to be null-terminated.

Remarks

The IF_COUNTED_STRING structure is the data type for various NDIS string structures, such as NDIS_IF_COUNTED_STRING.

If the string is NULL-terminated, the Length member must not include the terminating NULL character.

Requirements

Version

Supported in NDIS 6.0 and later.

Header

Ifdef.h (include Ntddndis.h)

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft