FWPM_NET_EVENT_SUBSCRIPTION0 structure (fwpmtypes.h)
The FWPM_NET_EVENT_SUBSCRIPTION0 structure stores information used to subscribe to notifications about a network event.
Syntax
typedef struct FWPM_NET_EVENT_SUBSCRIPTION0_ {
FWPM_NET_EVENT_ENUM_TEMPLATE0 *enumTemplate;
UINT32 flags;
GUID sessionKey;
} FWPM_NET_EVENT_SUBSCRIPTION0;
Members
enumTemplate
Address of an FWPM_NET_EVENT_ENUM_TEMPLATE0 structure. Notifications are only dispatched for objects that match the template. If enumTemplate is NULL, it matches all objects.
flags
Unused.
sessionKey
Identifies the session which created the subscription.
Remarks
FWPM_NET_EVENT_SUBSCRIPTION0 is a specific implementation of FWPM_NET_EVENT_SUBSCRIPTION. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | fwpmtypes.h |