typedef struct { DWORD size; DWORD maxevents; DWORD reportmask; } DTM_START_PARMS;
typedef struct
{
DWORD size;
DWORD maxevents;
DWORD reportmask;
} DTM_START_PARMS;
An application that is only interested in knowing when a trunk fails and when it is restored, should use the default value of 1 for reportmask. Set reportmask to 0x7F to get events when anything changes. A DTMEVN_MONITOR_STARTED event, containing the current alarm status, will always be sent as soon as the monitoring is started. dtmStartTrunkMonitor fails if the board type does not support monitoring.