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.

78 lines
1.3 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1996 - 1999
  3. Module Name:
  4. SCardLib
  5. Abstract:
  6. This header file incorporates the various other header files and provides
  7. common definitions that we are willing to share with the public.
  8. Author:
  9. Doug Barlow (dbarlow) 1/15/1998
  10. Environment:
  11. Win32, C++ w/ Exceptions
  12. Notes:
  13. --*/
  14. #ifndef _SCARDLIB_H_
  15. #define _SCARDLIB_H_
  16. #include <crtdbg.h>
  17. #ifndef ASSERT
  18. #if defined(_DEBUG)
  19. #define ASSERT(x) _ASSERTE(x)
  20. #if !defined(DBG)
  21. #define DBG
  22. #endif
  23. #elif defined(DBG)
  24. #define ASSERT(x)
  25. #else
  26. #define ASSERT(x)
  27. #endif
  28. #endif
  29. #ifndef breakpoint
  30. #if defined(_DEBUG)
  31. #define breakpoint _CrtDbgBreak();
  32. #elif defined(DBG)
  33. #define breakpoint DebugBreak();
  34. #else
  35. #define breakpoint
  36. #endif
  37. #endif
  38. #ifndef _LPCBYTE_DEFINED
  39. #define _LPCBYTE_DEFINED
  40. typedef const BYTE *LPCBYTE;
  41. #endif
  42. #ifndef _LPCVOID_DEFINED
  43. #define _LPCVOID_DEFINED
  44. typedef const VOID *LPCVOID;
  45. #endif
  46. #ifndef _LPCGUID_DEFINED
  47. #define _LPCGUID_DEFINED
  48. typedef const GUID *LPCGUID;
  49. #endif
  50. #ifndef _LPGUID_DEFINED
  51. #define _LPGUID_DEFINED
  52. typedef GUID *LPGUID;
  53. #endif
  54. #include "buffers.h"
  55. #include "dynarray.h"
  56. #include "Registry.h"
  57. #include "Text.h"
  58. #include "Handles.h"
  59. #include "clbmisc.h"
  60. #endif // _SCARDLIB_H_