I
invisibleone97
Guest
My Driver is not outputting text on Windbg kernel debug.
i am using KdPrint(__)
here is the code
#include "ntddk.h"
void Unload(IN PDRIVER_OBJECT DriverObject) {
KdPrint(("driver Unload \r\n"));
}
extern "C" NTSTATUS DriverEntry(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath) {
UNREFERENCED_PARAMETER(RegistryPath);
UNREFERENCED_PARAMETER(DriverObject);
DriverObject->DriverUnload = Unload;
KdPrint(("Hello Driver\r\n"));
return STATUS_SUCCESS;
}
Continue reading...
i am using KdPrint(__)
here is the code
#include "ntddk.h"
void Unload(IN PDRIVER_OBJECT DriverObject) {
KdPrint(("driver Unload \r\n"));
}
extern "C" NTSTATUS DriverEntry(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath) {
UNREFERENCED_PARAMETER(RegistryPath);
UNREFERENCED_PARAMETER(DriverObject);
DriverObject->DriverUnload = Unload;
KdPrint(("Hello Driver\r\n"));
return STATUS_SUCCESS;
}
Continue reading...