ReactOS 0.4.15-dev-8145-ga541a46
driver.c
Go to the documentation of this file.
1#include <ntddk.h>
2
5{
6 DbgPrint("Test driver unloaded sucessfully\n");
7}
8
12{
13 DriverObject->DriverUnload = DriverUnload;
14
15 DbgPrint("Test driver loaded sucessfully\n");
16
17 return STATUS_SUCCESS;
18}
LONG NTSTATUS
Definition: precomp.h:26
DRIVER_INITIALIZE DriverEntry
Definition: condrv.c:21
#define DbgPrint
Definition: hal.h:12
static DRIVER_UNLOAD DriverUnload
Definition: kbdclass.c:17
#define STATUS_SUCCESS
Definition: shellext.h:65
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING RegistryPath
Definition: wdfdriver.h:215
_Must_inspect_result_ _In_ PDRIVER_OBJECT DriverObject
Definition: wdfdriver.h:213