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.

29 lines
596 B

  1. #include <windows.h>
  2. #include <dsysdbg.h>
  3. #include "debug.h"
  4. DEFINE_DEBUG2(Basecsp)
  5. static DEBUG_KEY MyDebugKeys[] =
  6. {
  7. { DEB_TRACE_CSP, "TraceCsp" },
  8. { DEB_TRACE_FINDCARD, "TraceFindcard" },
  9. { DEB_TRACE_CACHE, "TraceCache" },
  10. { DEB_TRACE_MEM, "TraceMem" },
  11. { DEB_TRACE_CRYPTOAPI, "TraceCryptoAPI" },
  12. { 0, NULL}
  13. };
  14. void CspInitializeDebug(void)
  15. {
  16. #if DBG
  17. BasecspInitDebug(MyDebugKeys);
  18. #endif
  19. }
  20. void CspUnloadDebug(void)
  21. {
  22. #if DBG
  23. BasecspUnloadDebug();
  24. #endif
  25. }