Skip to main content
FWPM_CONNECTION_CALLBACK0 function pointer

The FWPM_CONNECTION_CALLBACK0 function is used to add custom behavior to the connection object subscription process.

Syntax


typedef void ( *FWPM_CONNECTION_CALLBACK0)(
  _Inout_  void *context,
  _In_     FWPM_CONNECTION_EVENT_TYPE eventType,
  _In_     const FWPM_CONNECTION0 *connection
);

Parameters

context [in, out]

Type: void*

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

eventType [in]

Type: FWPM_CONNECTION_EVENT_TYPE

The type of connection object change event.

connection [in]

Type: const FWPM_CONNECTION0*

The connection object change information.

Return value

This function pointer does not return a value.

Remarks

Call FwpmConnectionSubscribe0 to register this callback function.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Fwpmu.h

See also

FwpmConnectionSubscribe0
FWPM_CONNECTION_EVENT_TYPE
FWPM_CONNECTION0