ReactOS 0.4.16-dev-106-g10b08aa
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 */
27typedef struct _CONDRV_DRIVER
28{
30 PDEVICE_OBJECT Controller; // The unique Controller device for the driver.
32
38
39#endif // __CONDRV_H__
LONG NTSTATUS
Definition: precomp.h:26
struct _CONDRV_DRIVER * PCONDRV_DRIVER
NTSTATUS NTAPI ConDrvCreateController(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath)
Definition: control.c:21
struct _CONDRV_DRIVER CONDRV_DRIVER
NTSTATUS NTAPI ConDrvDeleteController(IN PDRIVER_OBJECT DriverObject)
Definition: control.c:66
UNICODE_STRING RegistryPath
Definition: condrv.h:29
PDEVICE_OBJECT Controller
Definition: condrv.h:30
#define NTAPI
Definition: typedefs.h:36
#define IN
Definition: typedefs.h:39
_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