Each trace event is identified by an event type in the EventType member of the MGSL_TRACE_EVENT structure. Each event type has associated data that is dependent on the event type. Event types are organized into event classes that are selectively enabled with the current trace level.
Two special event types are defined that do not belong to a particular trace level. These events can be returned if any trace level is enabled.
| EventType_None | No trace event was returned. This event type is encountered when a pending call to MgslGetTraceEvent is canceled with a call to MgslCancelGetTraceEvent. This does not represent an actual trace event. |
| EventType_BufferOverflow | The trace buffers have overflowed. This occurs when the buffers do not have enough space to hold an new event. No other events will be logged until the application removes enough events from the trace buffer to allow recording of new event. |
API generated trace events use event types defined by the constants listed in the following sections. Define application specific event types with the base value of EventType_UserBase. This prevents future API generated event types from conflicting with application specific event types.
| Previous | Contents | Next |