UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:p2p.PeerGroupGetEventData |
PeerGroupGetEventData function (p2p.h) |
The PeerGroupGetEventData function allows an application to retrieve the data returned by a grouping event. |
|
p2p\peergroupgeteventdata.htm |
p2p |
bc742c09-190d-412e-ae1a-f1350b3748f5 |
12/05/2018 |
PeerGroupGetEventData, PeerGroupGetEventData function [Peer Networking], p2p.peergroupgeteventdata, p2p/PeerGroupGetEventData |
p2p.h |
Windows |
Windows XP with SP2 [desktop apps only],Windows XP with SP1 with the Advanced Networking Pack forWindows XP |
None supported |
P2P.lib |
P2P.dll |
Windows |
19H1 |
|
|
|
|
|
|
The PeerGroupGetEventData function allows an application to retrieve the data returned by a grouping event.
Handle obtained from a previous call to PeerGroupRegisterEvent. This parameter is required.
Pointer to a PEER_GROUP_EVENT_DATA structure that contains data about the peer event. This data structure must be freed after use with PeerFreeData. This parameter is required.
Returns S_OK if the operation succeeds. Otherwise, the function returns one of the following values.
Return code | Description |
---|---|
|
One of the parameters is not valid. |
|
The call is successful, but there is no event data available. |
Cryptography-specific errors can be returned from the Microsoft RSA Base Provider. These errors are prefixed with CRYPT_* and defined in Winerror.h.
When an event occurs for which a peer has requested notification, the corresponding peer event handle is signaled. The peer calls this method until PEER_GROUP_EVENT_DATA structures are retrieved. Each data structure contains the following two key pieces of data:
- The registration associated with a peer event.
- The actual data for a peer event.