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