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.
50 lines
708 B
50 lines
708 B
/*
|
|
* LCTrace.h
|
|
*
|
|
* Author: BreenH
|
|
*
|
|
* Tracing code for the licensing core.
|
|
*/
|
|
|
|
#ifndef __LC_LCTRACE_H__
|
|
#define __LC_LCTRACE_H__
|
|
|
|
#ifdef DBG
|
|
|
|
/*
|
|
* Constants
|
|
*/
|
|
|
|
#define LCTRACETYPE_NONE ((ULONG)(0x0))
|
|
#define LCTRACETYPE_API ((ULONG)(0x1))
|
|
#define LCTRACETYPE_INFO ((ULONG)(0x2))
|
|
#define LCTRACETYPE_WARNING ((ULONG)(0x4))
|
|
#define LCTRACETYPE_ERROR ((ULONG)(0x8))
|
|
#define LCTRACETYPE_ALL ((ULONG)(0xFFFF))
|
|
|
|
/*
|
|
* Function Prototypes
|
|
*/
|
|
|
|
VOID
|
|
TraceInitialize(
|
|
VOID
|
|
);
|
|
|
|
VOID __cdecl
|
|
TracePrint(
|
|
ULONG ulTraceLevel,
|
|
LPCSTR pFormat,
|
|
...
|
|
);
|
|
|
|
#define TRACEPRINT(x) TracePrint x;
|
|
|
|
#else
|
|
|
|
#define TRACEPRINT(x)
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|