FWPM_NET_EVENT_CALLBACK1 function

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

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

Syntax


void CALLBACK FWPM_NET_EVENT_CALLBACK1(
  _Inout_  void *context,
  _In_     const FWPM_NET_EVENT2 *event
);

Parameters

context [in, out]

Type: void*

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

event [in]

Type: const FWPM_NET_EVENT2*

The net event information.

Return value

This function does not return a value.

Remarks

Call FwpmNetEventSubscribe1 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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.