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(
DWORD dwErrorList,
DWORD dwErrorType
);
Parameters
dwErrorList
[in] The error list to clear. This parameter can be one of the following values: WTT_ERROR_LIST_EXPECTEDWTT_ERROR_LIST_BREAKONdwErrorType
[in] The type of the error to remove. This parameter can be one of the following values: WTT_ERROR_TYPE_HRESULTWTT_ERROR_TYPE_NTSTATUSWTT_ERROR_TYPE_WIN32WTT_ERROR_TYPE_BOOL
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
Header |
Wttlogger.h |
Library |
Library:WTTLog.dll |
See also
CWTTLogger::AddErrorToErrorList
CWTTLogger::RemoveErrorFromErrorList
Build date: 9/14/2012