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
29 lines
596 B
#include <windows.h>
|
|
#include <dsysdbg.h>
|
|
#include "debug.h"
|
|
|
|
DEFINE_DEBUG2(Basecsp)
|
|
|
|
static DEBUG_KEY MyDebugKeys[] =
|
|
{
|
|
{ DEB_TRACE_CSP, "TraceCsp" },
|
|
{ DEB_TRACE_FINDCARD, "TraceFindcard" },
|
|
{ DEB_TRACE_CACHE, "TraceCache" },
|
|
{ DEB_TRACE_MEM, "TraceMem" },
|
|
{ DEB_TRACE_CRYPTOAPI, "TraceCryptoAPI" },
|
|
{ 0, NULL}
|
|
};
|
|
|
|
void CspInitializeDebug(void)
|
|
{
|
|
#if DBG
|
|
BasecspInitDebug(MyDebugKeys);
|
|
#endif
|
|
}
|
|
|
|
void CspUnloadDebug(void)
|
|
{
|
|
#if DBG
|
|
BasecspUnloadDebug();
|
|
#endif
|
|
}
|