ISyncMgrSynchronizeCallback::LogError method
Called by a registered application to log information, warning, or an error message into the error tab on the synchronization manager status dialog box.
Syntax
HRESULT LogError( [in] DWORD dwErrorLevel, [in] LPCWSTR pszErrorText, [in] const SYNCMGRLOGERRORINFO *pSyncLogError );
Parameters
- dwErrorLevel [in]
-
Type: DWORD
The error level. Values are taken from the SYNCMGRLOGLEVEL enumeration.
- pszErrorText [in]
-
Type: LPCWSTR
A pointer to error text to be displayed in the error tab.
- pSyncLogError [in]
-
Type: const SYNCMGRLOGERRORINFO*
A pointer to the SYNCMGRLOGERRORINFO structure that contains additional error information. Registered applications that do not provide this data can pass NULL.
Return value
Type: HRESULT
This method supports the standard return values E_INVALIDARG, E_UNEXPECTED, and E_OUTOFMEMORY, and the following:
| Return code | Description |
|---|---|
|
The error information is logged successfully. |
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
DLL |
|
See also