PeerCollabUnregisterEvent function (p2p.h)
The PeerCollabUnregisterEvent function deregisters an application from notification about specific peer collaboration events.
Syntax
NOT_BUILD_WINDOWS_DEPRECATE HRESULT PeerCollabUnregisterEvent(
[in] HPEEREVENT hPeerEvent
);
Parameters
[in] hPeerEvent
Handle to the peer collaboration event the peer application will deregister. This handle is obtained with a previous call to PeerCollabRegisterEvent.
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. |
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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for