ReactOS  0.4.15-dev-1152-g6c94e4f
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 {
14 
15  DbgPrint("Test driver loaded sucessfully\n");
16 
17  return STATUS_SUCCESS;
18 }
#define DbgPrint
Definition: loader.c:25
static PDRIVER_OBJECT DriverObject
Definition: template.c:42
PDRIVER_UNLOAD DriverUnload
Definition: iotypes.h:2268
VOID DriverUnload(PDRIVER_OBJECT pDriverObject)
Definition: driver.c:4
return STATUS_SUCCESS
Definition: btrfs.c:3014

Referenced by IopInitializeDriverModule().

◆ DriverUnload()

VOID DriverUnload ( PDRIVER_OBJECT  pDriverObject)

Definition at line 4 of file driver.c.

5 {
6  DbgPrint("Test driver unloaded sucessfully\n");
7 }
#define DbgPrint
Definition: loader.c:25

Referenced by DriverEntry().