VOID
NdisFreeString(
IN NDIS_STRING String
);
NdisFreeString releases storage that was allocated for a buffered string.
Drivers usually call NdisInitializeString, NdisIntiAnsiString, and/or NdisInitUnicodeString when they are initializing, for example, to set up names passed to the Ndis..Configuration functions. For each call it makes to an Ndis..String function, the driver should make a corresponding call to NdisFreeString before its initialization function returns control.
NDIS drivers also can call NdisFreeString to release buffers they allocate for calls to NdisAnsiStringToUnicodeString and NdisUnicodeStringToAnsiString.
Callers of NdisFreeString run at IRQL PASSIVE_LEVEL.
DriverEntry of NDIS Protocol Drivers, MiniportInitialize, NdisAnsiStringToUnicodeString, NdisFreeMemory, NdisInitAnsiString, NdisInitializeString, NdisInitUnicodeString, NdisOpenAdapter, NdisRegisterProtocol, NdisUnicodeStringToAnsiString, ProtocolBindAdapter