Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
2.0 KiB

  1. /*++ BUILD Version: 0009 // Increment this if a change has global effects
  2. Copyright (c) 1987-1993 Microsoft Corporation
  3. Module Name:
  4. rx.h
  5. Abstract:
  6. This module is the overall h-file-wrapper for RDBSS.
  7. Revision History:
  8. Balan Sethu Raman (SethuR) 06-Feb-95 Created
  9. Notes:
  10. --*/
  11. #ifndef _RX_H_
  12. #define _RX_H_
  13. #include "rxovride.h" // common compile environment
  14. #include "ntifs.h" // NT file system driver include file.
  15. #ifdef RX_PRIVATE_BUILD
  16. //no one should be using these
  17. #ifdef IoGetTopLevelIrp
  18. #error IoGetTopLevelIrp is deffed
  19. #else
  20. #define IoGetTopLevelIrp() IoxxxxxxGetTopLevelIrp()
  21. #endif
  22. #ifdef IoSetTopLevelIrp
  23. #error IoSetTopLevelIrp is deffed
  24. #else
  25. #define IoSetTopLevelIrp(irp) IoxxxxxxSetTopLevelIrp(irp)
  26. #endif
  27. #endif //ifdef RX_PRIVATE_BUILD
  28. //
  29. // These macros sugarcoat flag manipulation just a bit
  30. //
  31. #ifndef BooleanFlagOn
  32. #define BooleanFlagOn(Flags,SingleFlag) ((BOOLEAN)((((Flags) & (SingleFlag)) != 0)))
  33. #endif
  34. #ifndef SetFlag
  35. #define SetFlag(Flags,SetOfFlags) { \
  36. (Flags) |= (SetOfFlags); \
  37. }
  38. #endif
  39. #ifndef FlagOn
  40. //
  41. // This macro returns TRUE if a flag in a set of flags is on and FALSE
  42. // otherwise
  43. //
  44. #define FlagOn(Flags,SingleFlag) ((Flags) & (SingleFlag))
  45. #endif
  46. #ifndef ClearFlag
  47. #define ClearFlag(Flags,SetOfFlags) { \
  48. (Flags) &= ~(SetOfFlags); \
  49. }
  50. #endif
  51. // define INLINE to be the appropriate keyword for ANSI C
  52. #define INLINE __inline
  53. #include "rxtypes.h"
  54. #ifndef MINIRDR__NAME
  55. #include "rxpooltg.h" // RX pool tag macros
  56. #endif
  57. #include "ntrxdef.h"
  58. #include "rxce.h" // RxCe functions
  59. #include "rxcehdlr.h" // RxCe event handler specifications
  60. #include "fcbtable.h" // FCB table data structures
  61. #include "midatlax.h" // mid atlas structures
  62. #include "mrxfcb.h"
  63. #include "namcache.h" // structs and func defs for name cache routines
  64. #include "rxworkq.h"
  65. #include "rxprocs.h"
  66. #include "rxexcept.h"
  67. #ifndef MINIRDR__NAME
  68. #include "rxdata.h"
  69. #include "rxcommon.h"
  70. #include "buffring.h"
  71. #endif
  72. #endif // #ifdef _RX_H_