IWTTLog::RemoveErrorFromErrorList method
The RemoveErrorFromErrorList method deletes the specified error from a list of known errors.
Syntax
HRESULT RemoveErrorFromErrorList(
DWORD dwErrorToRemove,
WTTLOGGER_ERROR_TYPE dwErrorType,
WTTLOGGER_ERROR_LIST 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: WTTLOG_ERROR_TYPE_HRESULTWTTLOG_ERROR_TYPE_NTSTATUSWTTLOG_ERROR_TYPE_WIN32WTTLOG_ERROR_TYPE_BOOLdwErrorList
[in] The error list to remove. This parameter can be one of the following values: WTTLOG_ERROR_LIST_EXPECTEDWTTLOG_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. |
Requirements
IDL |
Log.IDL |
Library |
WTTLogCM.dll |
See also
Build date: 9/14/2012