This function initializes a counted ASCII string.
VOID NdisInitAnsiString( PNDIS_ANSI_STRING DestinationString, PCSTR SourceString );
[in, out] Pointer to a caller-allocated buffer in which this function should store the counted ASCII string.
[in] Pointer to a 0-terminated string with which to initialize the counted string.
The DestinationString parameter is initialized to point to the SourceString parameter. The length and maximum length for the DestinationString are initialized to the length of the string at SourceString. If SourceString is NULL, the length is 0.
OS Versions: Windows CE .NET 4.0 and later.
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.