PEER_GRAPH_EVENT_REGISTRATION structure (p2p.h)
The PEER_GRAPH_EVENT_REGISTRATION structure is used during registration for peer event notification. During registration it specifies which peer events an application requires notifications for.
Syntax
typedef struct peer_graph_event_registration_tag {
PEER_GRAPH_EVENT_TYPE eventType;
GUID *pType;
} PEER_GRAPH_EVENT_REGISTRATION, *PPEER_GRAPH_EVENT_REGISTRATION;
Members
eventType
Specifies the type of peer event the application requires notifications for. The per events that can be registered for are specified by the PEER_GRAPH_EVENT_TYPE enumeration.
pType
If the peer event specified by eventType relates to records, use this member to specify which types of records the application requires notifications for. Specify NULL to receive notifications for all record types. This member is ignored if the event specified by eventType does not relate to records.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP2 [desktop apps only],Windows XP with SP1 with the Advanced Networking Pack forWindows XP |
Minimum supported server | None supported |
Header | p2p.h |