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.

70 lines
1.3 KiB

  1. /******************************************************************************
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. stdwin.h
  5. Abstract:
  6. Precompiled header file.
  7. Revision History:
  8. Seong Kook Khang (SKKhang) 06/20/00
  9. created
  10. ******************************************************************************/
  11. #include <nt.h>
  12. #include <ntrtl.h>
  13. #include <nturtl.h>
  14. #include <windows.h>
  15. #include <aclapi.h>
  16. #include <regstr.h>
  17. #include <shlwapi.h>
  18. #include <commctrl.h>
  19. #include <shellapi.h>
  20. #include <delayimp.h>
  21. #define USE_TRACING 1
  22. #ifdef DBG
  23. #define DEBUG
  24. #endif
  25. #include <dbgtrace.h>
  26. #include <srdefs.h>
  27. #include <utils.h>
  28. #include <srrpcapi.h>
  29. #include <datastormgr.h>
  30. #include <snapshot.h>
  31. #include <restmap.h>
  32. #include <srshell.h>
  33. #include <winsta.h>
  34. #define TRACE_ID 123
  35. #define EXPORT extern "C" __declspec(dllexport)
  36. #define SAFE_RELEASE(p) \
  37. if ( (p) != NULL ) \
  38. { \
  39. (p)->Release(); \
  40. p = NULL; \
  41. } \
  42. #define SAFE_DELETE(p) \
  43. if ( (p) != NULL ) \
  44. { \
  45. delete p; \
  46. p = NULL; \
  47. } \
  48. #define SAFE_DEL_ARRAY(p) \
  49. if ( (p) != NULL ) \
  50. { \
  51. delete [] p; \
  52. p = NULL; \
  53. } \
  54. // eof