mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[CONDRV]
* Remove one time inclusions from the main header and put them back where they belong. * Improve header inclusions. CORE-7716 svn path=/trunk/; revision=61852
This commit is contained in:
parent
0f2f7f1c78
commit
268afe1faf
3 changed files with 4 additions and 15 deletions
|
@ -13,7 +13,6 @@
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
|
|
||||||
/* FUNCTIONS ******************************************************************/
|
/* FUNCTIONS ******************************************************************/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -17,34 +17,23 @@
|
||||||
#include "VisualDDKHelpers.h"
|
#include "VisualDDKHelpers.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <wdm.h>
|
||||||
#include <ntddk.h>
|
|
||||||
#include <condrv/ntddcon.h>
|
|
||||||
|
|
||||||
|
|
||||||
#define CONDRV_TAG ' noC'
|
#define CONDRV_TAG ' noC'
|
||||||
#define DD_CONDRV_TAG '1noC'
|
#define DD_CONDRV_TAG '1noC'
|
||||||
#define CONDRV_CONS_TAG '2noC'
|
#define CONDRV_CONS_TAG '2noC'
|
||||||
|
|
||||||
|
/* Console Driver object extension */
|
||||||
//
|
|
||||||
// Console Driver object extension
|
|
||||||
//
|
|
||||||
typedef struct _CONDRV_DRIVER
|
typedef struct _CONDRV_DRIVER
|
||||||
{
|
{
|
||||||
UNICODE_STRING RegistryPath;
|
UNICODE_STRING RegistryPath;
|
||||||
PDEVICE_OBJECT Controller; // The unique Controller device for the driver.
|
PDEVICE_OBJECT Controller; // The unique Controller device for the driver.
|
||||||
} CONDRV_DRIVER, *PCONDRV_DRIVER;
|
} CONDRV_DRIVER, *PCONDRV_DRIVER;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
NTSTATUS NTAPI
|
NTSTATUS NTAPI
|
||||||
ConDrvCreateController(IN PDRIVER_OBJECT DriverObject,
|
ConDrvCreateController(IN PDRIVER_OBJECT DriverObject,
|
||||||
IN PUNICODE_STRING RegistryPath);
|
IN PUNICODE_STRING RegistryPath);
|
||||||
NTSTATUS NTAPI
|
NTSTATUS NTAPI
|
||||||
ConDrvDeleteController(IN PDRIVER_OBJECT DriverObject);
|
ConDrvDeleteController(IN PDRIVER_OBJECT DriverObject);
|
||||||
|
|
||||||
|
|
||||||
#endif // __CONDRV_H__
|
#endif // __CONDRV_H__
|
||||||
|
|
||||||
/* EOF */
|
|
||||||
|
|
|
@ -10,10 +10,11 @@
|
||||||
|
|
||||||
#include "condrv.h"
|
#include "condrv.h"
|
||||||
|
|
||||||
|
#include <condrv/ntddcon.h>
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
|
|
||||||
/* FUNCTIONS ******************************************************************/
|
/* FUNCTIONS ******************************************************************/
|
||||||
|
|
||||||
NTSTATUS NTAPI
|
NTSTATUS NTAPI
|
||||||
|
|
Loading…
Reference in a new issue