FWPM_NET_EVENT_CALLBACK4 callback function (fwpmu.h)

FWPM_NET_EVENT_CALLBACK4 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_CALLBACK4 FwpmNetEventCallback4;

void FwpmNetEventCallback4(
  void *context,
  const FWPM_NET_EVENT5 *event
)
{...}

Parameters

context

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

event

An FWPM_NET_EVENT5 structure that contains the event information.

Return value

None

Remarks

To register your callback function, call FwpmNetEventSubscribe4.

Requirements

Requirement Value
Header fwpmu.h