mirror of
https://github.com/mrexodia/TitanHide
synced 2026-08-13 04:23:04 -04:00
Log(): use DbgPrintEx so driver output is visible in DebugView
This commit is contained in:
parent
77ae4e97c3
commit
424dc35f70
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -11,5 +11,6 @@ bin/
|
|||
*.vddklaunch
|
||||
*.reg
|
||||
*.TMP
|
||||
*.user
|
||||
!BreakOnSysRq.reg
|
||||
.vs/
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ void Log(const char* format, ...)
|
|||
va_start(vl, format);
|
||||
_vsnprintf(msg, sizeof(msg) / sizeof(char), format, vl);
|
||||
#ifdef _DEBUG
|
||||
DbgPrint(msg);
|
||||
DbgPrintEx(DPFLTR_IHVDRIVER_ID, DPFLTR_ERROR_LEVEL, msg);
|
||||
#endif
|
||||
va_end(format);
|
||||
UNICODE_STRING FileName;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue