Compartilhar via


NdisFreeString (Compact 2013)

3/26/2014

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

Syntax

VOID NdisFreeString(
  NDIS_STRING String
);

Parameters

  • String
    [in] Pointer to the buffer that contains the string.

Return Value

None.

Remarks

Drivers usually call the NdisInitializeString, and NdisInitAnsiString 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.

Requirements

Header

ndis.h

Library

ndis.lib

See Also

Reference

NDIS String Interface
NdisAnsiStringToUnicodeString
NdisFreeMemory
NdisInitAnsiString
NdisInitializeString
NdisInitUnicodeString
NdisOpenAdapter
NdisRegisterProtocol
NdisUnicodeStringToAnsiString