PEER_EVENT_WATCHLIST_CHANGED_DATA structure (p2p.h)
The PEER_EVENT_WATCHLIST_CHANGED_DATA structure contains information returned when a PEER_EVENT_WATCHLIST_CHANGED event is raised on a peer participating in a peer collaboration network.
Syntax
typedef struct peer_event_watchlist_changed_data_tag {
PPEER_CONTACT pContact;
PEER_CHANGE_TYPE changeType;
} PEER_EVENT_WATCHLIST_CHANGED_DATA, *PPEER_EVENT_WATCHLIST_CHANGED_DATA;
Members
pContact
Pointer to a PEER_CONTACT structure that contains information about the peer contact in the watchlist whose change raised the event.
changeType
PEER_CHANGE_TYPE enumeration value that specifies the type of change that occurred in the peer's watchlist.
Remarks
The PEER_EVENT_WATCHLIST_CHANGED event is raised when the watch list is changed. The watch list is composed of the contacts that have fWatch set to true. If a new contact is added with fWatch set to true, or if an existing contact's fWatch is changed to true, the changeType member is set to PEER_CHANGE_ADDED. If fWatch is changed to false or if a contact is deleted, changeType is set to PEER_CHANGE_DELETED.
The p2phost.exe service must running to receive this event. P2phost.exe is launched when an application calls PeerCollabRegisterEvent on this event.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | None supported |
Header | p2p.h |