Maintaining Error Lists
Note This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.
You can add an error to the list of expected errors or the list of break-on errors, remove an error from either of those lists, or clear all errors of a specific type from either list. The error lists have a global scope on a per-logger object basis. Therefore, if one thread adds an error to the list, other threads that share the same logger object will be affected.
- To maintain an error list by using C
- Add an error to the list by calling the WTTLogAddErrorToErrorList function.
- Remove an error from the list by calling the WTTLogRemoveErrorFromErrorList function.
- Clear all errors of a specified type from the list by calling the WTTLogClearErrorList function.
- To maintain an error list by using C++
- Add an error to the list by calling the CWTTLogger::AddErrorToErrorList method.
- Remove an error from the list by calling the CWTTLogger::RemoveErrorFromErrorList method.
- Clear all errors of a specified type from the list by calling the CWTTLogger::ClearErrorList method
- To maintain an error list by using COM
- Add an error to the list by calling the IWTTLog::AddErrorToErrorList method.
- Remove an error from the list by calling the IWTTLog::RemoveErrorFromErrorList method.
- Clear all errors of a specified type from the list by calling the IWTTLog::ClearErrorList method.
- To maintain an error list by using .NET
- Add an error to the list by calling the ErrorList.Add method.
- Remove an error from the list by calling the ErrorList.Remove method.
- Clear all errors of a specified type from the list by calling the ErrorList.Clear method.
Build date: 9/14/2012