The MGSL_TRACE_EVENT structure is used with the MgslGetTraceEvent API call to retrieve individual trace events from the API trace buffers.
typedef struct _MGSL_TRACE_EVENT
{
ULONG TimeStamp;
ULONG EventType;
USHORT DataLength;
char EventData[HDLC_MAX_FRAME_SIZE];
} MGSL_TRACE_EVENT, *PMGSL_TRACE_EVENT;
The TimeStamp member is in the following format:
BITS <31..27> = Hours (5 bits, Range 0-23)
BITS <26..21> = Minutes (6 bits, Range 0..59)
BITS <20..15> = Seconds (6 bits, Range 0..59)
BITS <9..0> = Milliseconds (10 bits, Range 0..999)
| Previous | Contents | Next |