ENG_TIME_FIELDS
typedef struct _ENG_TIME_FIELDS {
USHORT usYear;
USHORT usMonth;
USHORT usDay;
USHORT usHour;
USHORT usMinute;
USHORT usSecond;
USHORT usMilliseconds;
USHORT usWeekday;
} ENG_TIME_FIELDS, *PENG_TIME_FIELDS;
ENG_TIME_FIELDS is the structure in which EngQueryLocalTime
returns the local time. The driver is responsible for allocating the structure
and passing its pointer to EngQueryLocalTime.
Members
-
usYear
-
Specifies the current calendar year. The range is [1601,…].
-
usMonth
-
Specifies the current calendar month. The range is [1,12].
-
usDay
-
Specifies the current calendar day. The range is [1,31].
-
usHour
-
Specifies the current hour. The range is [0,23].
-
usMinute
-
Specifies the current minute. The range is [0,59].
-
usSecond
-
Specifies the current second. The range is [0,59].
-
usMilliseconds
-
Specifies the current millisecond. The range is [0,999].
-
usWeekday
-
Specifies the current day. The range is [0,6], where 0 is Sunday and 6 is
Saturday.