reactos/rostests/win32/DriverLoading/Driver/driver.c

18 lines
346 B
C
Raw Normal View History

#include <ntddk.h>
VOID
DriverUnload(PDRIVER_OBJECT pDriverObject)
{
DbgPrint("Test driver unloaded sucessfully\n");
}
NTSTATUS
DriverEntry(PDRIVER_OBJECT DriverObject,
PUNICODE_STRING RegistryPath)
{
DriverObject->DriverUnload = DriverUnload;
DbgPrint("Test driver loaded sucessfully\n");
return STATUS_SUCCESS;
}