NdisFreeString

This function releases storage that was allocated for a buffered string.

VOID NdisFreeString(
IN NDIS_STRING String );

Parameters

  • String
    Pointer to the buffer containing the string.

Remarks

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 can also call this function to release buffers that they allocate for calls to the NdisAnsiStringToUnicodeString and NdisUnicodeStringToAnsiString functions.

A driver that calls this function runs at IRQL PASSIVE_LEVEL.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Ndis.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

NdisAnsiStringToUnicodeString, NdisFreeMemory, NdisInitAnsiString, NdisInitializeString, NdisInitUnicodeString, NdisOpenAdapter, NdisRegisterProtocol, NdisUnicodeStringToAnsiString

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.