PeerCollabGetSigninOptions function (p2p.h)
The PeerCollabGetSigninOptions function obtains the peer's current signed-in peer collaboration network presence options.
Syntax
NOT_BUILD_WINDOWS_DEPRECATE HRESULT PeerCollabGetSigninOptions(
[out] DWORD *pdwSigninOptions
);
Parameters
[out] pdwSigninOptions
The PEER_SIGNIN_FLAGS enumeration value is returned by this function.
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. |
|
The application did not make a previous call to PeerCollabStartup. |
|
The application has not signed into the peer collaboration network with a previous call to PeerCollabSignIn. |
Requirements
| 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 |