Skip to content

Commit 9f7a894

Browse files
author
Jan Wilmans
committed
default to verbose kernel messages off
1 parent 58750f5 commit 9f7a894

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

application/DebugViewppLib/KernelReader.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,6 @@ void KernelReader::StartListening()
3737
return;
3838
}
3939

40-
// enable verbose kernel messages
41-
bRet = DeviceIoControl(handle.get(), DBGV_SET_VERBOSE_MESSAGES, NULL, 0, NULL, 0, NULL, NULL);
42-
if (!bRet)
43-
{
44-
printf("DBGV_ENABLE_FILTER_STATE failed, err=%d\n", ::GetLastError());
45-
return;
46-
}
4740
m_handle = std::move(handle);
4841
m_pBuf = reinterpret_cast<PLOG_ITEM>(malloc(kernelMessageBufferSize));
4942
}

0 commit comments

Comments
 (0)