IWTTLog Interface (COM)
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.
The IWTTLog interface implements a COM interface for logging messages and errors.
IWTTLog contains the following public methods.
Method | Description |
---|---|
Adds a specified error to a list of known errors. |
|
Checks the specified condition and, if the condition is false, fails the test case unless a trace is logged or you specifically declare the test case to be skipped. |
|
Checks a specified result and logs an error if the result shows a failure. |
|
Checks a specified result against a target result and logs an error if both the value and type match. |
|
Removes all errors of the specified type from a given list of known errors. |
|
Closes a log device topology that the device string or the handle specify. |
|
Creates a log device topology according to the device string. |
|
Traces the end of a test case, clears the current test case context, and sets it to the parent context. |
|
Traces the end of a test case and enables you to specify a GUID-based test ID and a test hierarchy. |
|
Retrieves the current context of the logger object. |
|
Deletes the specified error from a list of known errors. |
|
Sets the current context of the logger object for all subsequent traces. |
|
Sets the current context of the logger object for all subsequent traces. |
|
Traces the start of a test case. |
|
Traces the start of a test case and enables you to specify a GUID-based test ID and a test hierarchy. |
|
Logs a trace of the specified device at the given trace level. |
|
Sets the given information about the specified trace computer. |
|
Logs trace data by using a user-defined trace level. |
Requirements
IDL file: Log.idl
Library: WTTLogCM.dll
See Also
CWTTLogger Class (C++), WTTLog Functions (C)
Build date: 9/14/2012