Share via


WTTLogClearErrorList

The WTTLogClearErrorList function removes all errors of the specified type from a given list of known errors.

HRESULT WTTLogClearErrorList ( 
  DWORD  dwErrorList,
  DWORD  dwErrorType
);

Parameters

dwErrorList

dwErrorType

Return Value

returns one of the following values:

  • 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

Headers: Wttlogger.h

Library: WTTLog.dll

See Also

WTTLog Functions (C), WTTLogAddErrorToErrorList, WTTLogRemoveErrorFromErrorList

Send feedback on this topic
Built on December 10, 2009