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 { 29 UNICODE_STRING RegistryPath; 30 PDEVICE_OBJECT Controller; // The unique Controller device for the driver. 31 } CONDRV_DRIVER, *PCONDRV_DRIVER; 32 33 NTSTATUS NTAPI 34 ConDrvCreateController(IN PDRIVER_OBJECT DriverObject, 35 IN PUNICODE_STRING RegistryPath); 36 NTSTATUS NTAPI 37 ConDrvDeleteController(IN PDRIVER_OBJECT DriverObject); 38 39 #endif // __CONDRV_H__ 40