xref: /reactos/sdk/include/ddk/rx.h (revision 84ccccab)
1 #ifndef _RX_
2 #define _RX_
3 
4 #include "rxovride.h"
5 #include "ntifs.h"
6 
7 #ifndef BooleanFlagOn
8 #define BooleanFlagOn(Flags, SingleFlag) ((BOOLEAN)((((Flags) & (SingleFlag)) != 0)))
9 #endif
10 
11 #ifndef SetFlag
12 #define SetFlag(Flags, SetOfFlags) \
13 {                                  \
14     (Flags) |= (SetOfFlags);       \
15 }
16 #endif
17 
18 #ifndef ClearFlag
19 #define ClearFlag(Flags, SetOfFlags) \
20 {                                    \
21     (Flags) &= ~(SetOfFlags);        \
22 }
23 #endif
24 
25 #define Add2Ptr(Ptr, Inc) ((PVOID)((PUCHAR)(Ptr) + (Inc)))
26 
27 #define INLINE __inline
28 
29 #include "rxtypes.h"
30 
31 #ifndef MINIRDR__NAME
32 #include "rxpooltg.h"
33 #endif
34 
35 #include "ntrxdef.h"
36 #include "fcbtable.h"
37 #include "mrxfcb.h"
38 #include "rxworkq.h"
39 #include "rxprocs.h"
40 
41 #ifndef MINIRDR__NAME
42 #include "rxdata.h"
43 #include "buffring.h"
44 #endif
45 
46 #endif
47