[EVENTVWR]

Display seconds for event time in event viewer. Patch by Lee Schroeder.
CORE-8612

svn path=/trunk/; revision=65623
This commit is contained in:
Ziliang Guo 2014-12-13 05:07:58 +00:00
parent 7edb9e1657
commit 8c112bc3e7

View file

@ -646,7 +646,7 @@ QueryEventMessages(LPWSTR lpMachineName,
GetEventUserName(pevlr, szUsername);
GetDateFormatW(LOCALE_USER_DEFAULT, DATE_SHORTDATE, &time, NULL, szLocalDate, MAX_PATH);
GetTimeFormatW(LOCALE_USER_DEFAULT, TIME_NOSECONDS, &time, NULL, szLocalTime, MAX_PATH);
GetTimeFormatW(LOCALE_USER_DEFAULT, 0, &time, NULL, szLocalTime, MAX_PATH);
GetEventType(pevlr->EventType, szEventTypeText);
GetEventCategory(lpLogName, lpSourceName, pevlr, szCategory);