This function releases storage that was allocated for a buffered string.
Header file: | Ndis.h |
Windows CE versions: | 2.0 and later |
VOID NdisFreeString( IN NDIS_STRING String );
Drivers usually call the NdisInitializeString, NdisIntiAnsiString, and/or NdisInitUnicodeString functions when they are initializing, for example, to set up names passed to the NdisXXXConfiguration functions. For each call it makes to an NdisXXXString function, the driver should make a corresponding call to this function before its initialization function returns control.
NDIS drivers also can call this function to release buffers that they allocate for calls to the NdisAnsiStringToUnicodeString and NdisUnicodeStringToAnsiString functions.
A driver that calls this function runr at IRQL PASSIVE_LEVEL.
NdisAnsiStringToUnicodeString, NdisFreeMemory, NdisInitAnsiString, NdisInitializeString, NdisInitUnicodeString, NdisOpenAdapter, NdisRegisterProtocol, NdisUnicodeStringToAnsiString