ReactOS 0.4.15-dev-8222-g9164419
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
42typedef struct _FTIME
43{
44 unsigned short twosecs : 5;
45 unsigned short minutes : 6;
46 unsigned short hours : 5;
48
49typedef FTIME *PFTIME;
50
51typedef struct _FDATE
52{
53 unsigned short day : 5;
54 unsigned short month : 4;
55 unsigned short year : 7;
57
58#ifdef _MSC_VER
59#pragma warning(pop)
60#endif
61
62typedef FDATE *PFDATE;
63
64#endif
FTIME * PFTIME
Definition: oscalls.h:49
struct _FDATE FDATE
FDATE * PFDATE
Definition: oscalls.h:62
struct _FTIME FTIME
Definition: oscalls.h:52
unsigned short day
Definition: oscalls.h:53
unsigned short year
Definition: oscalls.h:55
unsigned short month
Definition: oscalls.h:54
Definition: oscalls.h:43
unsigned short hours
Definition: oscalls.h:46
unsigned short minutes
Definition: oscalls.h:45
unsigned short twosecs
Definition: oscalls.h:44