FwpmFreeMemory0 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// fwpmk.h

void FwpmFreeMemory0(
  [in, out] void **p
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-fwpmk-fwpmfreememory0)

Description

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

Parameters

p [in, out]

Address of the pointer to be freed.

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.

See also