FWPM_NET_EVENT_CALLBACK0 function pointer

The FWPM_NET_EVENT_CALLBACK0 function is used to add custom behavior to the net event subscription process.

Note  FWPM_NET_EVENT_CALLBACK0 is the specific implementation of FWPM_NET_EVENT_CALLBACK used in Windows 7. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information. For Windows 8, FWPM_NET_EVENT_CALLBACK1 is available.

Syntax


typedef void ( CALLBACK *FWPM_NET_EVENT_CALLBACK0)(
  _Inout_  void *context,
  _In_     const FWPM_NET_EVENT1 *event
);

Parameters

context [in, out]

Type: void*

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

event [in]

Type: const FWPM_NET_EVENT1*

The net event information.

Return value

This function pointer does not return a value.

Remarks

Call FwpmNetEventSubscribe0 to register this callback function.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Fwpmu.h

See also

FWPM_NET_EVENT1
FwpmNetEventSubscribe0

 

 

Community Additions

ADD
Show:
© 2014 Microsoft