Expand Minimize

FWPM_PROVIDER_SUBSCRIPTION0 structure

The FWPM_PROVIDER_SUBSCRIPTION0 structure is used to subscribe for change notifications.

Syntax


typedef struct FWPM_PROVIDER_SUBSCRIPTION0_ {
  FWPM_PROVIDER_ENUM_TEMPLATE0 *enumTemplate;
  UINT32                       flags;
  GUID                         sessionKey;
} FWPM_PROVIDER_SUBSCRIPTION0;

Members

enumTemplate

[unique]

Enumeration template for limiting the subscription.

See FWPM_PROVIDER_ENUM_TEMPLATE0 for more information.

flags

Possible values:

ValueMeaning
FWPM_SUBSCRIPTION_FLAG_NOTIFY_ON_ADD

Subscribe to provider add notifications.

FWPM_SUBSCRIPTION_FLAG_NOTIFY_ON_DELETE

Subscribe to provider delete notifications.

 

sessionKey

Uniquely identifies the session.

Remarks

Notifications are only dispatched for providers that match the template.

If the template is NULL, it matches all providers.

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Fwpmtypes.h

See also

Windows Filtering Platform API Structures
FWPM_PROVIDER_ENUM_TEMPLATE0

 

 

Community Additions

ADD
Show:
© 2014 Microsoft