Leaked source code of windows server 2003
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.

41 lines
1006 B

  1. // stdafx.h : include file for standard system include files,
  2. // or project specific include files that are used frequently,
  3. // but are changed infrequently
  4. #ifndef _STDAFX_H
  5. #define _STDAFX_H
  6. //
  7. // These NT header files must be included before any Win32 stuff or you
  8. // get lots of compiler errors
  9. //
  10. extern "C" {
  11. #include <nt.h>
  12. #include <ntrtl.h>
  13. #include <nturtl.h>
  14. }
  15. #define WSB_TRACE_IS WSB_TRACE_BIT_FSA
  16. #include <wsb.h>
  17. #include <fsa.h>
  18. #include <mover.h>
  19. #include <mvrint.h>
  20. #include "resource.h"
  21. #include "esent.h"
  22. // Fsa is running under RsServ serivce, these settings may change or become dynamic for a C/S HSM
  23. #define FSA_REGISTRY_NAME OLESTR("Remote_Storage_Server")
  24. #define FSA_REGISTRY_PARMS OLESTR("SYSTEM\\CurrentControlSet\\Services\\Remote_Storage_Server\\Parameters\\Fsa")
  25. #ifndef MAX
  26. #define MAX(a,b) ((a) > (b) ? (a) : (b))
  27. #endif
  28. #ifndef MIN
  29. #define MIN(a,b) ((a) > (b) ? (b) : (a))
  30. #endif
  31. #endif // _STDAFX_H