PeerGroupGetStatus function
The PeerGroupGetStatus function retrieves the current status of a group.
Syntax
HRESULT WINAPI PeerGroupGetStatus( _In_ HGROUP hGroup, _Out_ DWORD *pdwStatus );
Parameters
- hGroup [in]
-
Handle to a peer group whose status is returned. This handle is returned by the PeerGroupCreate, PeerGroupOpen, or PeerGroupJoin function. This parameter is required.
- pdwStatus [out]
-
Pointer to a set of PEER_GROUP_STATUS flags that describe the status of a peer group.
Return value
Returns S_OK if the operation succeeds. Otherwise, the function returns one of the following values.
| Return code | Description |
|---|---|
|
One or more of the parameters is invalid. |
|
There is not enough memory available to complete an operation. |
|
The handle to a group is invalid. |
Cryptography-specific errors can be returned from the Microsoft RSA Base Provider. These errors are prefixed with CRYPT_* and defined in Winerror.h.
Requirements
|
Minimum supported client | Windows XP with SP2 [desktop apps only] |
|---|---|
|
Minimum supported server | None supported [desktop apps only] |
|
Version | Windows XP with SP1 with the Advanced Networking Pack forWindows XP |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012