Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The WTTLogGetPFRollupStats function retrieves the current pass-fail statistics.
Syntax
HRESULT WTTLogGetPFRollupStats(
PWTTLOGROLLUPINFO pWTTPFStats
);
Parameters
pWTTPFStats
[in] A pointer to a structure that contains the pass-fail statistics. The structure has the following definition.typedef struct { ULONG ulTotal; // Total number of test cases ULONG ulPassed; // Number of test cases that passed ULONG ulFailed; // Number of test cases that failed ULONG ulBlocked; // Number of test cases that were blocked ULONG ulWarned; // Number of warnings ULONG ulSkipped; // Number of test cases that were skipped } WTTLOGROLLUPINFO, * PWTTLOGROLLUPINFO;
Return value
WTTLogGetPFRollupStats 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. |
Remarks
To retrieve the current pass-fail statistics, you must create an empty structure, as defined in the pWTTPFStats parameter, and call the WTTLogGetPFRollupStats function, which passes DTM Logger a pointer to the structure. DTM Logger will then populate the structure.
Requirements
Header |
Wttlogger.h |
Library |
WTTLog.dll |
See also
Build date: 9/14/2012