Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The PeerCollabGetEventData function obtains the data associated with a peer collaboration event raised on the peer.
Syntax
NOT_BUILD_WINDOWS_DEPRECATE HRESULT PeerCollabGetEventData(
[in] HPEEREVENT hPeerEvent,
[out] PPEER_COLLAB_EVENT_DATA *ppEventData
);
Parameters
[in] hPeerEvent
The peer collaboration network event handle obtained by a call to PeerCollabRegisterEvent.
[out] ppEventData
Pointer to a list of PEER_COLLAB_EVENT_DATA structures that contain data about the peer collaboration network event. These data structures must be freed after use by calling PeerFreeData.
Return value
Returns S_OK if the function succeeds. Otherwise, the function returns one of the following values.
Return code | Description |
---|---|
|
There is not enough memory to support this operation. |
|
One of the arguments is invalid. |
|
The event data is not present. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | p2p.h |
Library | P2P.lib |
DLL | P2P.dll |