1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Windows Driver: Add extra traces and enable tracing in release build if DEBUG_TRACE defined.

This commit is contained in:
Mounir IDRASSI
2016-08-09 09:17:51 +02:00
parent 9bfe4780d4
commit 460f552a41
2 changed files with 32 additions and 9 deletions

View File

@@ -198,8 +198,8 @@ typedef int BOOL;
#endif
#ifdef DEVICE_DRIVER
# if defined (DEBUG) || 0
# if 1 // DbgPrintEx is not available on Windows 2000
# if defined (DEBUG) || defined (DEBUG_TRACE)
# if 0 // DbgPrintEx is not available on Windows 2000
# define Dump DbgPrint
# else
# define Dump(...) DbgPrintEx (DPFLTR_IHVDRIVER_ID, DPFLTR_ERROR_LEVEL, __VA_ARGS__)
@@ -212,7 +212,7 @@ typedef int BOOL;
#endif
#if !defined (trace_msg) && !defined (TC_WINDOWS_BOOT)
# ifdef DEBUG
# if defined(DEBUG) || defined (DEBUG_TRACE)
# ifdef DEVICE_DRIVER
# define trace_msg Dump
# elif defined (_WIN32)