WTTLog Functions (C)
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 following C functions represent an interface (IWTTLog) for logging messages and errors.
Function | Description |
---|---|
Adds a known error to an error list. |
|
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 specifies. |
|
Create a log device topology according to the device string. |
|
Disables the specified set of device trace levels. |
|
Enables the specified set of device trace levels. |
|
Traces the end of a test case, clears 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. |
|
Retrieves the current pass-fail statistics. |
|
Initializes the DTM Logger DLL. |
|
Initializes the pass-fail statistics to the specified values. |
|
Deletes the specified error from a list of known errors. |
|
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. |
|
Logs a trace of the specified device at the given trace level by using an XML-formatted data string. |
|
Sets the specified computer as the trace machine. |
|
Removes the DTM Logger DLL from memory. |
|
Logs trace data by using a user-defined trace level. |
|
Logs trace data by using a user-defined trace level and an XML-formatted data string. |
Requirements
Header: Wttlogger.h
Library: WTTLog.dll
See Also
CWTTLogger Class (C++), IWTTLog Interface (COM)
Build date: 9/14/2012