FWPM_SYSTEM_PORTS_CALLBACK0 function pointer

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

Syntax


typedef void ( CALLBACK *FWPM_SYSTEM_PORTS_CALLBACK0)(
  _Inout_       void               *context,
  _In_    const FWPM_SYSTEM_PORTS0 *sysPorts
);

Parameters

context [in, out]

Type: void*

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

sysPorts [in]

Type: const FWPM_SYSTEM_PORTS0*

The system port information.

Return value

This function pointer does not return a value.

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

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Fwpmu.h

See also

FwpmSystemPortsSubscribe0
FWPM_SYSTEM_PORTS0

 

 

Show: