PEER_INVITATION structure (p2p.h)

The PEER_INVITATION structure contains a request to initiate or join a peer collaboration activity.

Syntax

typedef struct peer_invitation_tag {
  GUID      applicationId;
  PEER_DATA applicationData;
  PWSTR     pwzMessage;
} PEER_INVITATION, *PPEER_INVITATION;

Members

applicationId

GUID value that uniquely identifies the registered software or software component for the peer collaboration activity.

applicationData

PEER_DATA structure that contains opaque data describing possible additional application-specific settings (for example, an address and port on which the activity will occur, or a specific video codec to use). This data is limited to 16K.

pwzMessage

Zero-terminated Unicode string that contains a specific request message to the invitation recipient. The message is limited to 255 unicode characters.

Remarks

An invitation request is typically sent by a peer after a contact appears online within the peer collaboration network and a call to PeerCollabEnumApplications returns a common software application (represented as a application GUID) available on the contact's endpoint.

Requirements

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

See also

PEER_DATA

Peer Collaboration API Structures