FWPM_FILTER_SUBSCRIPTION0 (Compact 7)
3/12/2014
This structure is used to subscribe for change notifications.
Syntax
typedef struct FWPM_FILTER_SUBSCRIPTION0_ {
FWPM_FILTER_ENUM_TEMPLATE0* enumTemplate;
UINT32 flags;
GUID sessionKey;
} FWPM_FILTER_SUBSCRIPTION0;
Members
- enumTemplate
An FWPM_FILTER_ENUM_TEMPLATE0 structure used to limit the subscription.
flags
The notification type(s) received by the subscription.Possible values are listed in the Remarks section below.
- sessionKey
Uniquely identifies this session.
Remarks
Notifications are only dispatched for filters that match the template.
If the template is NULL, it matches all filters.
The following is a list of the possible values for the flags data member:
Value | Meaning |
---|---|
FWPM_SUBSCRIPTION_FLAG_NOTIFY_ON_ADD |
Subscribe to filter add notifications. |
FWPM_SUBSCRIPTION_FLAG_NOTIFY_ON_DELETE |
Subscribe to filter delete notifications. |
Requirements
Header |
fwpmu.h |