PEER_PRESENCE_INFO structure (p2p.h)

The PEER_PRESENCE_INFO structure contains specific peer presence information.

Syntax

typedef struct peer_presence_info_tag {
  PEER_PRESENCE_STATUS status;
  PWSTR                pwzDescriptiveText;
} PEER_PRESENCE_INFO, *PPEER_PRESENCE_INFO;

Members

status

PEER_PRESENCE_STATUS enumeration value that indicates the current availability or level of participation by the peer in a peer collaboration network.

pwzDescriptiveText

Zero-terminated Unicode string that contains a user- or application-defined message that expands upon the current status value. This string is limited to 255 characters.

Remarks

Peer "presence" is information about a specific peer's level of participation in a peer collaboration network, such as whether or not the peer has logged into or out of the peer collaboration network, or has set a specific status (for example, "Busy, "Away").

Requirements

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

See also

PEER_PRESENCE_STATUS

Peer Collaboration API Structures