JET_LOGTIME 結構

適用于: Windows |Windows Server

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 中宣告。

另請參閱

JET_DBINFOMISC