PeerGroupShutdown function (p2p.h)

The PeerGroupShutdown function closes a peer group created with PeerGroupStartup and disposes of any allocated resources.

Syntax

NOT_BUILD_WINDOWS_DEPRECATE HRESULT PeerGroupShutdown();

Return value

Returns S_OK if the operation succeeds. Otherwise, the function returns the following value.

Return code Description
E_UNEXPECTED
The function terminated unexpectedly.
 

Cryptography-specific errors can be returned from the Microsoft RSA Base Provider. These errors are prefixed with CRYPT_* and defined in Winerror.h.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2 [desktop apps only],Windows XP with SP1 with the Advanced Networking Pack forWindows XP
Minimum supported server None supported
Target Platform Windows
Header p2p.h
Library P2P.lib
DLL P2P.dll

See also

Grouping API Functions

PeerGroupStartup