ISyncSessionState2::GetSessionErrorStatus method (winsync.h)

Gets the error value that indicates why the synchronization session failed.

Syntax

HRESULT GetSessionErrorStatus(
  [out] HRESULT *phrSessionError
);

Parameters

[out] phrSessionError

The error value that indicates why the synchronization session failed.

Return value

The possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
S_OK
The method succeeded.
E_POINTER
Invalid pointer.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header winsync.h

See also

ISyncSessionState Interface

ISyncSessionState2 Interface