NdisInitUnicodeString
This function initializes a counted Unicode string.
VOID NdisInitUnicodeString(
PNDIS_STRING DestinationString,
PCWSTR SourceString
);
Parameters
- DestinationString
[in, out] Pointer to a caller-allocated buffer in which this function stores the counted Unicode string. - SourceString
[in] Pointer to a 0-terminated string with which to initialize the counted string.
Return Values
None.
Remarks
The DestinationString parameter is initialized to point to the SourceString. The length and maximum length for DestinationString are initialized to the length of the string at SourceString. If SourceString is NULL, the length is 0.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.
See Also
NdisAnsiStringToUnicodeString | NdisFreeString | NdisInitAnsiString | NdisInitializeString | NdisUnicodeStringToAnsiString
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.