ReactOS 0.4.16-dev-112-g52265ae
driver.c File Reference
#include <ntddk.h>
Include dependency graph for driver.c:

Go to the source code of this file.

Functions

VOID DriverUnload (PDRIVER_OBJECT pDriverObject)
 
NTSTATUS DriverEntry (PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath)
 

Function Documentation

◆ DriverEntry()

NTSTATUS DriverEntry ( PDRIVER_OBJECT  DriverObject,
PUNICODE_STRING  RegistryPath 
)

Definition at line 10 of file driver.c.

12{
13 DriverObject->DriverUnload = DriverUnload;
14
15 DbgPrint("Test driver loaded sucessfully\n");
16
17 return STATUS_SUCCESS;
18}
#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 DriverObject
Definition: wdfdriver.h:213

◆ DriverUnload()

VOID DriverUnload ( PDRIVER_OBJECT  pDriverObject)

Definition at line 4 of file driver.c.

5{
6 DbgPrint("Test driver unloaded sucessfully\n");
7}