JET_LOGTIME结构
适用于:Windows |Windows服务器
JET_LOGTIME结构
JET_LOGTIME结构包含事件的日期和时间元素。
typedef struct {
char bSeconds;
char bMinutes;
char bHours;
char bDay;
char bMonth;
char bYear;
union {
char bFiller1;
struct {
unsigned char fTimeIsUTC: 1;
unsigned char fUnused: 7;
};
};
char bFiller2;
} JET_LOGTIME;
成员
bSeconds
事件的时间(以秒为单位)。 此值可以为 0 到 59。 当结构为 null 时使用 0。
bMinutes
事件的时间(以分钟为单位)。 此值可以为 0 到 59。 当结构为 null 时使用 0。
bHours
事件的时间(以小时为单位)。 此值可以为 0 到 23。 当结构为 null 时使用 0。
bDay
事件月份的日期。 此值可以为 0 到 31。 当结构为 null 时使用 0。
bMonth
事件年份的月份。 此值可以为 0 到 12。 当结构为 null 时使用 0。
bYear
事件年 (偏移量为1900) 。 若要实现实际年份,请将 1900 添加到此值。 当结构为 null 时使用 0。
bFiller1
应忽略此字段。
fTimeIsUTC
时间采用 UTC 格式。
fUnused
应忽略此字段。
bFiller2
应忽略此字段。
注解
此结构主要用于调试中的用法。
要求
要求 | 值 |
---|---|
客户端 |
需要 Windows Vista、Windows XP 或 Windows 2000 Professional。 |
Server |
需要Windows Server 2008、Windows Server 2003 或 Windows 2000 Server。 |
标头 |
在 Esent.h 中声明。 |