PEER_MEMBER_CHANGE_TYPE enumeration (p2p.h)
The PEER_MEMBER_CHANGE_TYPE enumeration defines the set of possible peer group membership and presence states for a peer.
Syntax
typedef enum peer_member_change_type_tag {
PEER_MEMBER_CONNECTED = 1,
PEER_MEMBER_DISCONNECTED = 2,
PEER_MEMBER_UPDATED = 3,
PEER_MEMBER_JOINED = 4,
PEER_MEMBER_LEFT = 5
} PEER_MEMBER_CHANGE_TYPE;
Constants
PEER_MEMBER_CONNECTEDValue: 1 A member is connected to a peer group. |
PEER_MEMBER_DISCONNECTEDValue: 2 A member is disconnected from a peer group. |
PEER_MEMBER_UPDATEDValue: 3 A member has updated information (for example, a new address) within a peer group. |
PEER_MEMBER_JOINEDValue: 4 New membership information is published for a group member. The peer name of a peer group member is obtained from the pwzIdentity field of the PEER_EVENT_MEMBER_CHANGE_DATA structure. New membership information is published in one of the following three scenarios:
|
PEER_MEMBER_LEFTValue: 5 This peer event does not exist in the Peer Grouping Infrastructure v1.0, and must not be used. |
Requirements
| Minimum supported client | Windows XP with SP2 [desktop apps only],Windows XP with SP1with the Advanced Networking Pack forWindows XP |
| Minimum supported server | None supported |
| Header | p2p.h |