FwpmFreeMemory0 function

The FwpmFreeMemory0 function is used to release memory resources allocated by the Windows Filtering Platform (WFP) functions.

Syntax


void WINAPI FwpmFreeMemory0(
  _Inout_  void **p
);

Parameters

p [in, out]

Type: void**

Address of the pointer to be freed.

Return value

This function does not return a value.

Remarks

FwpmFreeMemory0 is used to free memory returned by the various Fwpm* functions, such as FwpmFilterGetByKey0.

Fwpm* functions that return a HANDLE, such as FwpmCalloutCreateEnumHandle0, have specific functions to release memory.

If the caller passes a pointer that is not valid, the behavior is undefined.

FwpmFreeMemory0 is a specific implementation of FwpmFreeMemory. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Fwpmu.h

Library

Fwpuclnt.lib

DLL

Fwpuclnt.dll

See also

Windows Filtering Platform API Reference
WFP Functions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft