PeerCollabShutdown function (p2p.h)

The PeerCollabShutdown function shuts down the Peer Collaboration infrastructure and releases any resources associated with it.

Syntax

NOT_BUILD_WINDOWS_DEPRECATE HRESULT PeerCollabShutdown();

Return value

Returns S_OK if the function succeeds. Otherwise, the function returns one of the following values.

Return code Description
E_OUTOFMEMORY
There is not enough memory to support this operation.
PEER_E_NOT_INITIALIZED
The application did not make a previous call to PeerCollabStartup.

Remarks

A call to this function decreases the number of references to the Peer Collaboration infrastructure by 1. If the reference count equals 0, then all resources associated with the Peer Collaboration infrastructure are released.

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

Peer Collaboration API Functions

PeerCollabStartup