- DWORD dtmGetTrunkStatus ( DTMHD dtmhd,
DTM_TRUNK_STATUS *status,
unsigned size)
- dtmhd Handle returned by dtmStartTrunkMonitor.
- status Pointer to the DTM_TRUNK_STATUS structure:
typedef struct
{
DWORD size ; /* size of this structure */
DWORD board ; /* board number */
DWORD trunk ; /* trunk number */
DTM_TRUNK_STATE state; /* alarms and sync status */
DWORD starttime; /* when counts started (time_t) */
DWORD slips; /* slips accumulator */
DWORD lineerrors; /* line code violations (BPVs) */
DWORD frameerrors; /* frame bit errors+ CRC errors */
DWORD es; /* errored seconds accumulator */
DWORD ses; /* severely errored seconds */
DWORD uas; /* unavailable seconds */
} DTM_TRUNK_STATUS ;
- size Size, in bytes, of the DTM_TRUNK_STATUS structure.