IF_COUNTED_STRING_LH structure (ifdef.h)
The IF_COUNTED_STRING structure specifies a counted string for NDIS interfaces.
Syntax
typedef struct _IF_COUNTED_STRING_LH {
USHORT Length;
WCHAR String[IF_MAX_STRING_SIZE + 1];
} IF_COUNTED_STRING_LH, *PIF_COUNTED_STRING_LH;
Members
Length
A USHORT value that contains the length, in bytes, of the string.
String[IF_MAX_STRING_SIZE + 1]
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
Requirement | Value |
---|---|
Minimum supported client | Supported in NDIS 6.0 and later. |
Header | ifdef.h (include Ntddndis.h) |