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