FWPM_VSWITCH_EVENT_CALLBACK0 function pointer

The FWPM_VSWITCH_EVENT_CALLBACK0 function is used to add custom behavior to the vSwitch event subscription process.

Syntax


typedef void ( CALLBACK *FWPM_VSWITCH_EVENT_CALLBACK0)(
  _Inout_  void *context,
  _In_     const FWPM_VSWITCH_EVENT0 *vSwitchEvent
);

Parameters

context [in, out]

Type: void*

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

vSwitchEvent [in]

Type: const FWPM_VSWITCH_EVENT0*

The vSwitch event information.

Return value

This function pointer does not return a value.

Remarks

Call FwpmvSwitchEventSubscribe0 to register this callback function.

FWPM_VSWITCH_EVENT_CALLBACK0 is a specific implementation of FWPM_VSWITCH_EVENT_CALLBACK. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Fwpmu.h

See also

FwpmvSwitchEventSubscribe0
FWPM_VSWITCH_EVENT0

 

 

Community Additions

ADD
Show:
© 2014 Microsoft