PFN_FWFREEDYNAMICKEYWORDADDRESSDATA0 callback function (netfw.h)

Function pointer type of the entry point in the service that you call to free dynamic keyword address data structs allocated by the service.

Note

A pointer type for this free function is published via NetFw.h, but a static-link library isn't published. Use the LoadLibraryExW/GetProcAddress pattern for calling this function.

When you call GetProcAddress, pass a handle to the firewallapi.dll module, and pass FWFreeDynamicKeywordAddressData0 as the lpProcName argument.

For more info, and code examples, see Firewall dynamic keywords.

Syntax

PFN_FWFREEDYNAMICKEYWORDADDRESSDATA0 PfnFwfreedynamickeywordaddressdata0;

DWORD PfnFwfreedynamickeywordaddressdata0(
  PFW_DYNAMIC_KEYWORD_ADDRESS_DATA0 dynamicKeywordAddressData
)
{...}

Parameters

dynamicKeywordAddressData

Type: _In_ PFW_DYNAMIC_KEYWORD_ADDRESS0

A pointer to either a single dynamic keyword address data object to be freed, or the head of a list of dynamic keyword address data object to be freed.

Return value

Type: DWORD

If the function succeeds, then it returns ERROR_SUCCESS.

Remarks

You should call this function only on values returned by FWEnumDynamicKeywordAddressById0 or FWEnumDynamicKeywordAddressesByType0.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Target Platform Windows
Header netfw.h
DLL firewallapi.dll

See also