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.

87 lines
1.5 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1996 - 1999
  3. Module Name:
  4. cspUtils
  5. Abstract:
  6. This header file incorporates the various other header files and provides
  7. common definitions for CSP Utility routines.
  8. Author:
  9. Doug Barlow (dbarlow) 1/15/1998
  10. Environment:
  11. Win32, C++ w/ Exceptions
  12. Notes:
  13. --*/
  14. #ifndef _CSPUTILS_H_
  15. #define _CSPUTILS_H_
  16. #include <crtdbg.h>
  17. #ifndef _WIN32_WINNT
  18. #define _WIN32_WINNT 0x0500
  19. #endif
  20. #include <wincrypt.h>
  21. #ifndef ASSERT
  22. #if defined(_DEBUG)
  23. #pragma warning (disable:4127)
  24. #define ASSERT(x) _ASSERTE(x)
  25. #if !defined(DBG)
  26. #define DBG
  27. #endif
  28. #elif defined(DBG)
  29. #define ASSERT(x)
  30. #else
  31. #define ASSERT(x)
  32. #endif
  33. #endif
  34. #ifndef breakpoint
  35. #if defined(_DEBUG)
  36. #define breakpoint _CrtDbgBreak();
  37. #elif defined(DBG)
  38. #define breakpoint DebugBreak();
  39. #else
  40. #define breakpoint
  41. #endif
  42. #endif
  43. #ifndef _LPCBYTE_DEFINED
  44. #define _LPCBYTE_DEFINED
  45. typedef const BYTE *LPCBYTE;
  46. #endif
  47. #ifndef _LPCVOID_DEFINED
  48. #define _LPCVOID_DEFINED
  49. typedef const VOID *LPCVOID;
  50. #endif
  51. #ifndef _LPCGUID_DEFINED
  52. #define _LPCGUID_DEFINED
  53. typedef const GUID *LPCGUID;
  54. #endif
  55. #ifndef _LPGUID_DEFINED
  56. #define _LPGUID_DEFINED
  57. typedef GUID *LPGUID;
  58. #endif
  59. #define OK(x) (ERROR_SUCCESS == (x))
  60. #include "buffers.h"
  61. #include "text.h"
  62. #include "dynarray.h"
  63. #include "errorstr.h"
  64. #include "misc.h"
  65. #include "FrontCrypt.h"
  66. #include "ntacls.h"
  67. #include "registry.h"
  68. #endif // _CSPUTILS_H_