Minor progress to bring ros-ddk headers closer to the latest mingw-ddk headers. Teste...
[reactos.git] / reactos / include / ddk / ntddk.h
1 /* $Id: ntddk.h,v 1.37 2003/10/17 05:36:39 robd Exp $
2 *
3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * FILE: include/ddk/ntddk.h
6 * PURPOSE: Interface definitions for drivers
7 * PROGRAMMER: David Welch (welch@mcmail.com)
8 * UPDATE HISTORY:
9 * 15/05/98: Created
10 */
11
12 #ifdef __USE_W32API
13
14 #include_next <ddk/ntddk.h>
15
16 #else /* __USE_W32API */
17
18 #ifndef __NTDDK_H
19 #define __NTDDK_H
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24
25 /* INCLUDES ***************************************************************/
26
27 #define FASTCALL __attribute__((fastcall))
28
29 #define STATIC static
30
31 #ifndef _GNU_H_WINDOWS_H
32 /* NASTY HACK! Our msvcrt are messed up, causing msvcrt.dll to crash when
33 * the headers are mixed with MinGW msvcrt headers. Not including stdlib.h
34 * seems to correct this.
35 */
36 #include <stdlib.h>
37 #include <string.h>
38 #endif
39 #include <ntos/types.h>
40 #include <ntos/time.h>
41 #include <ntos/cdrom.h>
42 #include <ntos/disk.h>
43 #include <ntos/registry.h>
44 #include <ntos/port.h>
45 #include <ntos/synch.h>
46 #include <napi/types.h>
47
48 #include <pe.h>
49
50 #include <ddk/status.h>
51 #include <ddk/ntdef.h>
52 #include <ddk/defines.h>
53 #include <ddk/types.h>
54 #include <ddk/cmtypes.h>
55 #include <ddk/ketypes.h>
56 #include <ntos/security.h>
57 #include <ddk/setypes.h>
58 #include <ddk/mmtypes.h>
59 #include <ddk/potypes.h>
60 #include <ddk/pnptypes.h>
61 #include <ddk/iotypes.h>
62 #include <ddk/extypes.h>
63 #include <ddk/pstypes.h>
64 #include <ntos/ldrtypes.h>
65 #include <ntos/zwtypes.h>
66 #include <ddk/ioctrl.h>
67 #include <ntos/rtltypes.h>
68 #include <napi/shared_data.h>
69
70 #include <ntos/zw.h>
71 #include <ntos/rtl.h>
72 #include <ddk/dbgfuncs.h>
73 #include <ddk/ldrfuncs.h>
74 #if defined(__NTOSKRNL__) || defined(__NTDRIVER__) || defined(__NTHAL__)
75 #include <ddk/exfuncs.h>
76 #include <ddk/halfuncs.h>
77 #include <ddk/mmfuncs.h>
78 #include <ddk/kefuncs.h>
79 #include <ddk/pofuncs.h>
80 #include <ddk/pnpfuncs.h>
81 #include <ddk/iofuncs.h>
82 #include <ddk/psfuncs.h>
83 #include <ddk/obfuncs.h>
84 #include <ddk/sefuncs.h>
85 #endif /*__NTOSKRNL__ || __NTDRIVER__ || __NTHAL__ */
86
87 #ifdef __cplusplus
88 }
89 #endif
90
91 #endif /* __NTDDK_H */
92
93 #endif /* __USE_W32API */