FWPM_PROVIDER_CONTEXT_SUBSCRIPTION0 (Compact 2013)

3/26/2014

This structure is used to subscribe for change notifications.

Syntax

typedef struct FWPM_PROVIDER_CONTEXT_SUBSCRIPTION0_ {
  FWPM_PROVIDER_CONTEXT_ENUM_TEMPLATE0* enumTemplate;
  UINT32 flags;
  GUID sessionKey;
} FWPM_PROVIDER_CONTEXT_SUBSCRIPTION0;

Members

  • enumTemplate
    Notifications are only dispatched for objects that match the template. If the template is NULL, it matches all objects.

    See topic FWPM_PROVIDER_CONTEXT_ENUM_TEMPLATE0 for more information.

  • flags
    The notifications to subscribe.

    Possible values are listed in the Remarks section below.

  • sessionKey
    Uniquely identifies this session.

Remarks

The following is a list of the possible values for the flags data member:

Value

Meaning

FWPM_SUBSCRIPTION_FLAG_NOTIFY_ON_ADD

Subscribe to provider add notifications

FWPM_SUBSCRIPTION_FLAG_NOTIFY_ON_DELETE

Subscribe to provider delete notifications

Requirements

Header

fwpmu.h

See Also

Reference

WFP Management Structures

Other Resources

Windows Filtering Platform