Resets error accumulators.
DWORD dtmResetCounters ( DTMHD dtmhd)
|
Argument |
Description |
|
dtmhd |
Handle to the trunk monitor object. |
|
Return value |
Description |
|
SUCCESS |
|
|
CTAERR_INVALID_HANDLE |
dtmhd is not a valid monitor handle. |
|
CTAERR_SVR_COMM |
Communication error in server environment. |
|
Event |
Description |
|
DTMEVN_TRUNK_STATUS |
The value field contains a 4-byte DTM_TRUNK_STATE structure. When the trunk is operational, all bytes are set to 0. The objHd field contains the dtmhd. |
dtmResetCounters sends a request to the board to reset its accumulators and start time. This request forces a status event to be sent to the host from the board.