ReactOS  0.4.14-dev-98-gb0d4763
condrv.h
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: See COPYING in the top level directory
3  * PROJECT: ReactOS Console Driver
4  * FILE: drivers/base/condrv/condrv.h
5  * PURPOSE: Console Driver Management Functions
6  * PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr)
7  */
8 
9 #ifndef __CONDRV_H__
10 #define __CONDRV_H__
11 
12 /* This is needed for VisualDDK testing */
13 // #define __USE_VISUALDDK_AT_HOME__
14 
15 #ifdef __USE_VISUALDDK_AT_HOME__
16  #pragma message("Disable __USE_VISUALDDK_AT_HOME__ before committing!!")
17  #include "VisualDDKHelpers.h"
18 #endif
19 
20 #include <wdm.h>
21 
22 #define CONDRV_TAG ' noC'
23 #define DD_CONDRV_TAG '1noC'
24 #define CONDRV_CONS_TAG '2noC'
25 
26 /* Console Driver object extension */
27 typedef struct _CONDRV_DRIVER
28 {
30  PDEVICE_OBJECT Controller; // The unique Controller device for the driver.
32 
38 
39 #endif // __CONDRV_H__
#define IN
Definition: typedefs.h:38
NTSTATUS NTAPI ConDrvDeleteController(IN PDRIVER_OBJECT DriverObject)
Definition: control.c:66
LONG NTSTATUS
Definition: precomp.h:26
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
struct _CONDRV_DRIVER CONDRV_DRIVER
static PDRIVER_OBJECT DriverObject
Definition: template.c:42
UNICODE_STRING RegistryPath
Definition: condrv.h:29
NTSTATUS NTAPI ConDrvCreateController(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath)
Definition: control.c:21
_In_ PUNICODE_STRING RegistryPath
Definition: wmip.h:27
struct _CONDRV_DRIVER * PCONDRV_DRIVER
PDEVICE_OBJECT Controller
Definition: condrv.h:30