PEER_COLLAB_EVENT_TYPE enumeration (p2p.h)
The PEER_COLLAB_EVENT_TYPE enumeration defines the set of events that can be raised on a peer by the peer collaboration network event infrastructure.
Syntax
typedef enum peer_collab_event_type_tag {
PEER_EVENT_WATCHLIST_CHANGED = 1,
PEER_EVENT_ENDPOINT_CHANGED = 2,
PEER_EVENT_ENDPOINT_PRESENCE_CHANGED = 3,
PEER_EVENT_ENDPOINT_APPLICATION_CHANGED = 4,
PEER_EVENT_ENDPOINT_OBJECT_CHANGED = 5,
PEER_EVENT_MY_ENDPOINT_CHANGED = 6,
PEER_EVENT_MY_PRESENCE_CHANGED = 7,
PEER_EVENT_MY_APPLICATION_CHANGED = 8,
PEER_EVENT_MY_OBJECT_CHANGED = 9,
PEER_EVENT_PEOPLE_NEAR_ME_CHANGED = 10,
PEER_EVENT_REQUEST_STATUS_CHANGED = 11
} PEER_COLLAB_EVENT_TYPE;
Constants
PEER_EVENT_WATCHLIST_CHANGED Value: 1 The peer's list of watched contacts has changed. |
PEER_EVENT_ENDPOINT_CHANGED Value: 2 The endpoint has changed. |
PEER_EVENT_ENDPOINT_PRESENCE_CHANGED Value: 3 The presence status of an endpoint has changed. |
PEER_EVENT_ENDPOINT_APPLICATION_CHANGED Value: 4 The registered application of the endpoint has changed. |
PEER_EVENT_ENDPOINT_OBJECT_CHANGED Value: 5 A peer object registered to the endpoint has changed. |
PEER_EVENT_MY_ENDPOINT_CHANGED Value: 6 The local peer's endpoint has changed. |
PEER_EVENT_MY_PRESENCE_CHANGED Value: 7 The local peer's presence status has changed. |
PEER_EVENT_MY_APPLICATION_CHANGED Value: 8 The local peer's registered application has changed. |
PEER_EVENT_MY_OBJECT_CHANGED Value: 9 A peer object registered with the local peer has changed. |
PEER_EVENT_PEOPLE_NEAR_ME_CHANGED Value: 10 An endpoint in the same subnet as the local peer's endpoint has changed. |
PEER_EVENT_REQUEST_STATUS_CHANGED Value: 11 The status of a request to refresh endpoint data or subscribe to endpoint data has changed. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | None supported |
Header | p2p.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for