The NdisUnicodeStringToAnsiString function converts a given counted Unicode string into a counted ANSI string. The translation conforms to the current system locale information.
void NdisUnicodeStringToAnsiString( _as, _us );
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 SourceString must be at least twice the size of that at DestinationString .
|Windows version||Supported for existing drivers in NDIS 6.0 and later, but new drivers should use RtlUnicodeStringToAnsiString instead.|
|Header||ndis.h (include Ndis.h)|
|DDI compliance rules||Irql_Miscellaneous_Function|