// ndis.h
void NdisUnicodeStringToAnsiString(
_as,
_us
);
View the official Windows Driver Kit DDI referenceNo description available.
The NdisUnicodeStringToAnsiString function converts a given counted Unicode string into a counted ANSI string. The translation conforms to the current system locale information.
_asA pointer to a caller-allocated buffer in which this function should return the converted ANSI string.
_usA pointer to the Unicode 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 SourceString must be at least twice the size of that at DestinationString .
DriverEntry of NDIS Protocol Drivers