FWPM_FILTER_SUBSCRIPTION0 structure (fwpmtypes.h)
The FWPM_FILTER_SUBSCRIPTION0 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
A FWPM_FILTER_ENUM_TEMPLATE0 structure used to limit the subscription.
flags
The notification type(s) received by the subscription.
Value | Meaning |
---|---|
|
Subscribe to filter add notifications. |
|
Subscribe to filter delete notifications. |
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.
FWPM_FILTER_SUBSCRIPTION0 is a specific implementation of FWPM_FILTER_SUBSCRIPTION. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | fwpmtypes.h |