PEER_EVENT_PEOPLE_NEAR_ME_CHANGED_DATA structure (p2p.h)

The PEER_EVENT_PEOPLE_NEAR_ME_CHANGED_DATA structure contains information returned when a PEER_EVENT_PEOPLE_NEAR_ME_CHANGED event is raised on a peer participating in a subnet-specific peer collaboration network.

Syntax

typedef struct peer_event_people_near_me_changed_data_tag {
  PEER_CHANGE_TYPE     changeType;
  PPEER_PEOPLE_NEAR_ME pPeopleNearMe;
} PEER_EVENT_PEOPLE_NEAR_ME_CHANGED_DATA, *PPEER_EVENT_PEOPLE_NEAR_ME_CHANGED_DATA;

Members

changeType

PEER_CHANGE_TYPE enumeration value that describes the type of change that occurred for a contact available on the local subnet.

pPeopleNearMe

Pointer to a PEER_PEOPLE_NEAR_ME structure that contains the peer endpoint information for the contact on the subnet that raised the change event.

Remarks

The information that can be changed in a peer contact include the endpoint's name or its associated IPv6 address.

If the changeType is set to PEER_CHANGE_ADDED and pEndpoint is set to NULL, then the local peer has signed in. Otherwise, if changeType is set to PEER_CHANGE_DELETEDimplies the local peer has signed out.

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_PEOPLE_NEAR_ME

Peer Collaboration API Structures