FwpsvSwitchEventsUnsubscribe0 function (fwpsk.h)

The FwpsvSwitchEventsUnsubscribe0 function releases resources that are associated with virtual switch notification subscriptions.

Note  FwpsvSwitchEventsUnsubscribe0 is a specific version of FwpsvSwitchEventsUnsubscribe. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information.

 

Syntax

void FwpsvSwitchEventsUnsubscribe0(
  UINT32 subscriptionId,
  UINT32 flags,
  void   *reserved
);

Parameters

subscriptionId

A unique event subscription identifier that the callout driver obtained by calling the FwpsvSwitchEventsSubscribe0 function.

flags

Reserved. Set this parameter to zero.

reserved

Reserved. Set this parameter to zero.

Return value

None

Remarks

A callout driver calls the FwpsvSwitchEventsUnsubscribe0 function to unsubscribe to virtual switch notifications that the callout driver previously subscribed to by calling the FwpsvSwitchEventsSubscribe0 function.

Requirements

Requirement Value
Minimum supported client Available starting with Windows 8.
Target Platform Universal
Header fwpsk.h (include Fwpsk.h)
Library Fwpkclnt.lib
IRQL <= PASSIVE_LEVEL

See also

FwpsvSwitchEventsSubscribe0