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
E_OUTOFMEMORY
There is not enough memory to support this operation.
E_INVALIDARG
One of the arguments is invalid.
PEER_E_NOT_INITIALIZED
The application did not make a previous call to PeerCollabStartup.
PEER_E_NOT_SIGNED_IN
The application has not signed into the peer collaboration network with a previous call to PeerCollabSignIn.

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_SIGNIN_FLAGS

Peer Collaboration API Functions

PeerCollabSignIn

PeerCollabSignOut