// TestDriver.c #include <ntddk.h> NTSTATUS DriverEntry(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath); VOID UnloadRoutine(IN PDRIVER_OBJECT DriverObject); #pragma alloc_text(INIT, DriverEntry) #pragma alloc_text(PAGE, UnloadRoutine) NTSTATUS DriverEntry(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath) { DriverObject->DriverUnload = UnloadRoutine; DbgPrint(«Hello world!\n»); return STATUS_SUCCESS; } VOID UnloadRoutine(IN PDRIVER_OBJECT DriverObject) { DbgPrint(«Goodbye!\n»); } wdk 8, 8.1, 10 installed.
What project should be created in VS2015 for the system to assemble a driver? I understand that the driver extension should be .sys? And how to run it and check? Thank you in advance.