FWPM_NET_EVENT_CALLBACK3 callback function (fwpmu.h)

FWPM_NET_EVENT_CALLBACK3 is the function signature of a callback function that you implement, and the system calls. The purpose is to add custom behavior to the net event subscription process.

Syntax

FWPM_NET_EVENT_CALLBACK3 FwpmNetEventCallback3;

void FwpmNetEventCallback3(
  void *context,
  const FWPM_NET_EVENT4 *event
)
{...}

Parameters

context

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

event

An FWPM_NET_EVENT4 structure that contains the event information.

Return value

None

Remarks

To register your callback function, call FwpmNetEventSubscribe3.

Requirements

Requirement Value
Header fwpmu.h