Secondary Categories: 02-Windows Kernel
The KdPrint
macro can be used to send messages to the kernel debugger (WinDbg) and can also be used to view debug messages in Dbgview from SysInternals Tools.
Below is an example of how it may be used:
// basic message
KdPrint(("[+] Hello from DriverEntry\n"));
// print failed status
if (!NT_SUCCESS(status)) {
KdPrint(("[!] Failed with status 0x%08X\n", status));
}
Resources:
Title | URL |
---|---|
PLACE | HOLDER |
Also Check Out:
- PLACE HOLDER