Condividi tramite


struttura PEER_EVENT_REQUEST_STATUS_CHANGED_DATA (p2p.h)

La struttura PEER_EVENT_REQUEST_STATUS_CHANGED_DATA contiene informazioni restituite quando viene generato un evento PEER_EVENT_REQUEST_STATUS_CHANGED in un peer che partecipa a una rete di collaborazione peer.

Sintassi

typedef struct peer_event_request_status_changed_data_tag {
  PPEER_ENDPOINT pEndpoint;
  HRESULT        hrChange;
} PEER_EVENT_REQUEST_STATUS_CHANGED_DATA, *PPEER_EVENT_REQUEST_STATUS_CHANGED_DATA;

Members

pEndpoint

Puntatore a una struttura PEER_ENDPOINT che contiene le informazioni sull'endpoint peer per il contatto la cui modifica dello stato della richiesta ha generato l'evento.

hrChange

Valore HRESULT che indica la modifica dello stato della richiesta che si è verificata.

Commenti

Questo evento viene generato quando l'infrastruttura completa l'elaborazione della richiesta per PeerCollabRefreshEndpointData o PeerCollabSubscribeEndpointData. Se il processo ha esito negativo , il valore hrChange verrà in genere PEER_E_CONNECTION_FAILED.

Requisiti

Requisito Valore
Client minimo supportato Windows Vista [solo app desktop]
Server minimo supportato Nessuno supportato
Intestazione p2p.h

Vedi anche

PEER_CHANGE_TYPE

PEER_ENDPOINT

Strutture dell'API di collaborazione peer