FWPM_VSWITCH_EVENT_CALLBACK0 callback function (fwpmu.h)
The FWPM_VSWITCH_EVENT_CALLBACK0 function is used to add custom behavior to the vSwitch event subscription process.
Syntax
FWPM_VSWITCH_EVENT_CALLBACK0 FwpmVswitchEventCallback0;
DWORD FwpmVswitchEventCallback0(
[in, out] void *context,
[in] const FWPM_VSWITCH_EVENT0 *vSwitchEvent
)
{...}
Parameters
[in, out] context
Type: void*
Optional context pointer. It contains the value of the context parameter of the FwpmvSwitchEventSubscribe0 function.
[in] vSwitchEvent
Type: FWPM_VSWITCH_EVENT0*
The vSwitch event information.
Return value
This callback function 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
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | fwpmu.h |