ReactOS  0.4.14-dev-317-g96040ec
oscalls.h
Go to the documentation of this file.
1 
7 #ifndef _INC_OSCALLS
8 #define _INC_OSCALLS
9 
10 #ifndef _CRTBLD
11 #error ERROR: Use of C runtime library internal header file.
12 #endif
13 
14 #include <crtdefs.h>
15 
16 #ifdef NULL
17 #undef NULL
18 #endif
19 
20 #define NOMINMAX
21 
22 #define _WIN32_FUSION 0x0100
23 //#include <windows.h>
24 #include <stdarg.h>
25 #include <windef.h>
26 #include <winbase.h>
27 #include <winuser.h>
28 
29 #ifndef NULL
30 #ifdef __cplusplus
31 #define NULL 0
32 #else
33 #define NULL ((void *)0)
34 #endif
35 #endif
36 
37 #ifdef _MSC_VER
38 #pragma warning(push)
39 #pragma warning(disable:4214)
40 #endif
41 
42 typedef struct _FTIME
43 {
44  unsigned short twosecs : 5;
45  unsigned short minutes : 6;
46  unsigned short hours : 5;
47 } FTIME;
48 
49 typedef FTIME *PFTIME;
50 
51 typedef struct _FDATE
52 {
53  unsigned short day : 5;
54  unsigned short month : 4;
55  unsigned short year : 7;
56 } FDATE;
57 
58 #ifdef _MSC_VER
59 #pragma warning(pop)
60 #endif
61 
62 typedef FDATE *PFDATE;
63 
64 #endif
unsigned short minutes
Definition: oscalls.h:45
Definition: oscalls.h:42
struct _FTIME FTIME
struct _FDATE FDATE
FDATE * PFDATE
Definition: oscalls.h:62
unsigned short day
Definition: oscalls.h:53
unsigned short year
Definition: oscalls.h:55
unsigned short twosecs
Definition: oscalls.h:44
unsigned short month
Definition: oscalls.h:54
FTIME * PFTIME
Definition: oscalls.h:49
unsigned short hours
Definition: oscalls.h:46
Definition: oscalls.h:51