Поделиться через


NdisFreeString (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

VOID NdisFreeString(
  NDIS_STRING String
);

Parameters

  • String
    [in] Pointer to the buffer containing 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
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Library Functions
NdisAnsiStringToUnicodeString
NdisFreeMemory
NdisInitAnsiString
NdisInitializeString
NdisInitUnicodeString
NdisOpenAdapter
NdisRegisterProtocol
NdisUnicodeStringToAnsiString