branch update for HEAD-2003021201
[reactos.git] / include / ntos / time.h
1 /*
2  * COPYRIGHT:    See COPYING in the top level directory
3  * PROJECT:      ReactOS kernel
4  * FILE:         include/time.h
5  * PURPOSE:      Time declarations used by all the parts of the system
6  * PROGRAMMER:   David Welch <welch@cwcom.net>
7  * UPDATE HISTORY: 
8  *               27/06/00: Created
9  */
10
11
12 #ifndef __INCLUDE_NTOS_TIME_H
13 #define __INCLUDE_NTOS_TIME_H
14
15 #include <ntos/types.h>
16
17 #ifndef __USE_W32API
18
19 typedef struct _SYSTEMTIME
20 {
21    WORD wYear;
22    WORD wMonth;
23    WORD wDayOfWeek;
24    WORD wDay;
25    WORD wHour;
26    WORD wMinute;
27    WORD wSecond;
28    WORD wMilliseconds;
29 } SYSTEMTIME, *PSYSTEMTIME, *LPSYSTEMTIME;
30
31 typedef struct _TIME_ZONE_INFORMATION
32 {
33    LONG Bias;
34    WCHAR StandardName[32];
35    SYSTEMTIME StandardDate;
36    LONG StandardBias;
37    WCHAR DaylightName[32];
38    SYSTEMTIME DaylightDate;
39    LONG DaylightBias;
40 } TIME_ZONE_INFORMATION, *PTIME_ZONE_INFORMATION, *LPTIME_ZONE_INFORMATION;
41
42 #else /* __USE_W32API */
43
44 #include <ddk/ntapi.h>
45
46 typedef LPTIME_ZONE_INFORMATION PTIME_ZONE_INFORMATION;
47
48 #endif /* __USE_W32API */
49
50
51 #endif /* __INCLUDE_NTOS_TIME_H */