CWTTLogger::RemoveErrorFromErrorList method
The RemoveErrorFromErrorList method deletes the specified error from a list of known errors.
Syntax
HRESULT RemoveErrorFromErrorList(
DWORD dwErrorToRemove,
DWORD dwErrorType,
DWORD dwErrorList
);
Parameters
dwErrorToRemove
[in] The error code to remove.dwErrorType
[in] The type of the error. This parameter can be one of the following values: WTT_ERROR_TYPE_HRESULTWTT_ERROR_TYPE_NTSTATUSWTT_ERROR_TYPE_WIN32WTT_ERROR_TYPE_BOOLdwErrorList
[in] The error list to remove the error from. This parameter can be one of the following values: WTT_ERROR_LIST_EXPECTEDWTT_ERROR_LIST_BREAKON
Return value
RemoveErrorFromErrorList 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. |
See also
CWTTLogger::AddErrorToErrorList
Build date: 9/14/2012