FWPM_SYSTEM_PORTS_CALLBACK0 callback function (fwpmu.h)

The FWPM_SYSTEM_PORTS_CALLBACK0 function is used to add custom behavior to the system port subscription process.

Syntax

FWPM_SYSTEM_PORTS_CALLBACK0 FwpmSystemPortsCallback0;

void FwpmSystemPortsCallback0(
  [in, out] void *context,
  [in]      const FWPM_SYSTEM_PORTS0 *sysPorts
)
{...}

Parameters

[in, out] context

Type: void*

Optional context pointer. It contains the value of the context parameter of the FwpmSystemPortsSubscribe0 function.

[in] sysPorts

Type: FWPM_SYSTEM_PORTS0*

The system port information.

Return value

None

Remarks

Call FwpmSystemPortsSubscribe0 to register this callback function.

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

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header fwpmu.h

See also

FWPM_SYSTEM_PORTS0

FwpmSystemPortsSubscribe0