Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The ClearErrorList method removes all errors of the specified type from a given list of known errors.
Syntax
HRESULT ClearErrorList(
WTTLOGGER_ERROR_TYPE dwErrorType,
WTTLOGGER_ERROR_LIST dwErrorList
);
Parameters
dwErrorType
[in] The type of the error to remove. This parameter can be one of the following values: WTTLOG_ERROR_TYPE_HRESULTWTTLOG_ERROR_TYPE_NTSTATUSWTTLOG_ERROR_TYPE_WIN32WTTLOG_ERROR_TYPE_BOOLdwErrorList
[in] The error list to clear. This parameter can be one of the following values: WTTLOG_ERROR_LIST_EXPECTEDWTTLOG_ERROR_LIST_BREAKON
Return value
ClearErrorList returns one of the following values:
Return code | Description |
---|---|
S_OK | The operation was successful. |
S_FALSE | The operation was successful but the last device has been detached, which has triggered a rollup. |
HRESULT | The operation failed. You should use the FAILED macro to check HRESULT values. |
Requirements
IDL |
Log.IDL |
Library |
WTTLogCM.dll |
See also
IWTTLog::RemoveErrorFromErrorList
Build date: 9/14/2012