NdisInitializeString (Windows Embedded CE 6.0)
1/6/2010
This function allocates storage for and initializes a counted string in the system-default character set.
Syntax
VOID NdisInitializeString(
PNDIS_STRING DestinationString,
PUCHAR SourceString
);
Parameters
- DestinationString
[in, out] Specifies NULL when this function is called; on return from this function, points to a buffer containing an initialized counted string.
- SourceString
[in] Pointer to a 0-terminated string with which to initialize the counted string.
Return Value
None.
Remarks
This function sets the Length and MaximumLength for the destination string and terminates the destination string with 0.
If SourceString is NULL, the lengths are set to 0.
The buffer allocated by this function should be released promptly with the NdisFreeString function.
Requirements
Header | ndis.h |
Library | ndis.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
NDIS Library Functions
NdisAnsiStringToUnicodeString
NdisEqualString
NdisFreeString
NdisInitAnsiString
NdisInitUnicodeString
NdisUnicodeStringToAnsiString