TC_SORTMODE

This enum is used to set set the order in which events are displayed

enum TC_SORTMODE
{
   SORT_BY_CLASS_ASCENDING = 0x00000000,
   SORT_BY_CLASS_DESCENDING = 0x00000001,
   SORT_BY_SOURCE_ASCENDING = 0x00000002,
   SORT_BY_SOURCE_DESCENDING = 0x00000003,
   SORT_BY_DATE_ASCENDING = 0x00000004,
   SORT_BY_DATE_DESCENDING = 0x00000005,
   SORT_BY_TIME_ASCENDING = 0x00000006,
   SORT_BY_TIME_DESCENDING = 0x00000007,
   SORT_BY_EVT_ID_ASCENDING = 0x00000008,
   SORT_BY_EVT_ID_DESCENDING = 0x00000009,
   SORT_BY_COMPUTER_ASCENDING = 0x0000000A,
   SORT_BY_COMPUTER_DESCENDING = 0x0000000B
}

Parameters

Item

Description

SORT_BY_CLASS_ASCENDING

Sort events ascending by the event classes

SORT_BY_CLASS_DESCENDING

Sort events descending by the event classes

SORT_BY_SOURCE_ASCENDING

Sort events ascending by event sources

SORT_BY_SOURCE_DESCENDING

Sort events descending by event sources

SORT_BY_DATE_ASCENDING

Sort events ascending by date

SORT_BY_DATE_DESCENDING

Sort events descending by date

SORT_BY_TIME_ASCENDING

Sort events ascending by time

SORT_BY_TIME_DESCENDING

Sort events descending by time

SORT_BY_EVT_ID_ASCENDING

Sort events ascending by event id

SORT_BY_EVT_ID_DESCENDING

Sort events descending by event id

SORT_BY_COMPUTER_ASCENDING

Sort events ascending by computer name

SORT_BY_COMPUTER_DESCENDING

Sort events descending by computer name