次の方法で共有


FwpmBfeStateUnsubscribeChanges0 (Compact 2013)

3/26/2014

This function unregisters a callback function that was previously registered by calling the FwpmBfeStateSubscribeChanges0 function.

Syntax

NTSTATUS NTAPI
  FwpmBfeStateUnsubscribeChanges0(
    IN HANDLE  changeHandle
    );

Parameters

  • changeHandle
    A handle associated with the registration of the callback function that is being unregistered. This handle was returned to the callout driver when it called the FwpmBfeStateSubscribeChanges0 function to register the callback function.

Return Value

The FwpmBfeStateUnsubscribeChanges0 function returns one of the following NTSTATUS codes:

Value

Description

STATUS_SUCCESS

The callback function was successfully unregistered.

Other status codes

An error occurred.

Remarks

A callout driver calls the FwpmBfeStateUnsubscribeChanges0 function to unregister a callback function that was previously registered by calling the FwpmBfeStateSubscribeChanges0 function.

If a callout driver registers a callback function by calling the FwpmBfeStateSubscribeChanges0 function, it must unregister the callback function before the callout driver can be unloaded.

Requirements

Header

fwpmk.h

See Also

Reference

Functions Called by Callout Drivers
FwpmBfeStateSubscribeChanges0
WFP Callout Driver Functions