PEER_EVENT_PRESENCE_CHANGED_DATA structure (p2p.h)

The PEER_EVENT_PRESENCE_CHANGED_DATA structure contains information returned when a PEER_EVENT_ENDPOINT_PRESENCE_CHANGED or PEER_EVENT_MY_PRESENCE_CHANGED event is raised on a peer participating in a peer collaboration network.

Syntax

typedef struct peer_event_presence_changed_data_tag {
  PPEER_CONTACT       pContact;
  PPEER_ENDPOINT      pEndpoint;
  PEER_CHANGE_TYPE    changeType;
  PPEER_PRESENCE_INFO pPresenceInfo;
} PEER_EVENT_PRESENCE_CHANGED_DATA, *PPEER_EVENT_PRESENCE_CHANGED_DATA;

Members

pContact

Pointer to a PEER_CONTACT structure that contains the peer contact information for the contact whose change in presence raised the event.

pEndpoint

Pointer to a PEER_ENDPOINT structure that contains the peer endpoint information for the contact whose change in presence raised the event.

changeType

PEER_CHANGE_TYPE enumeration value that specifies the type of presence change that occurred.

pPresenceInfo

Pointer to a PEER_PRESENCE_INFO structure that contains the updated presence information for the endpoint of the contact whose change in presence raised the event.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server None supported
Header p2p.h

See also

PEER_CHANGE_TYPE

PEER_CONTACT

PEER_ENDPOINT

Peer Collaboration API Structures