1 #include <ntddk.h> 2 3 VOID 4 DriverUnload(PDRIVER_OBJECT pDriverObject) 5 { 6 DbgPrint("Test driver unloaded sucessfully\n"); 7 } 8 9 NTSTATUS 10 DriverEntry(PDRIVER_OBJECT DriverObject, 11 PUNICODE_STRING RegistryPath) 12 { 13 DriverObject->DriverUnload = DriverUnload; 14 15 DbgPrint("Test driver loaded sucessfully\n"); 16 17 return STATUS_SUCCESS; 18 } 19