The NdisAnsiStringToUnicodeString function converts a given counted ANSI string into a counted Unicode string. The translation conforms to the current system locale information.
void NdisAnsiStringToUnicodeString( _us, _as );
A pointer to a caller-allocated buffer in which this function should return the converted Unicode string.
A pointer to the ANSI string to be converted.
The caller must allocate storage for both the source and destination strings and release these buffers as soon as the strings are no longer needed. The buffer at DestinationString must be at least twice the size of the buffer at SourceString .
|Minimum supported client||Supported for existing drivers in NDIS 6.0 and later, but new drivers should use RtlAnsiStringToUnicodeString instead.|
|Header||ndis.h (include Ndis.h)|
|DDI compliance rules||Irql_Miscellaneous_Function|