factor/library/windows/kernel32-structs.factor

73 lines
1.4 KiB
Factor

IN: win32-api
USING: alien kernel ;
BEGIN-STRUCT: overlapped-ext
FIELD: int internal
FIELD: int internal-high
FIELD: int offset
FIELD: int offset-high
FIELD: void* event
FIELD: int user-data
END-STRUCT
BEGIN-STRUCT: SYSTEMTIME
FIELD: WORD wYear
FIELD: WORD wMonth
FIELD: WORD wDayOfWeek
FIELD: WORD wDay
FIELD: WORD wHour
FIELD: WORD wMinute
FIELD: WORD wSecond
FIELD: WORD wMilliseconds
END-STRUCT
BEGIN-STRUCT: TIME_ZONE_INFORMATION
FIELD: LONG Bias
! FIELD: WCHAR[32] StandardName
FIELD: int a0
FIELD: int a1
FIELD: int a2
FIELD: int a3
FIELD: int a4
FIELD: int a5
FIELD: int a6
FIELD: int a7
FIELD: int a8
FIELD: int a9
FIELD: int a10
FIELD: int a11
FIELD: int a12
FIELD: int a13
FIELD: int a14
FIELD: int a15
FIELD: SYSTEMTIME StandardDate
FIELD: LONG StandardBias
! FIELD: WCHAR[32] DaylightName
FIELD: int b0
FIELD: int b1
FIELD: int b2
FIELD: int b3
FIELD: int b4
FIELD: int b5
FIELD: int b6
FIELD: int b7
FIELD: int b8
FIELD: int b9
FIELD: int b10
FIELD: int b11
FIELD: int b12
FIELD: int b13
FIELD: int b14
FIELD: int b15
FIELD: SYSTEMTIME DaylightDate
FIELD: LONG DaylightBias
END-STRUCT
BEGIN-STRUCT: FILETIME
FIELD: DWORD dwLowDateTime
FIELD: DWORD dwHighDateTime
END-STRUCT