mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[SERENUM]
* Do not include debug.h into the main header. * Improve the GUIDs situation. * Improve header inclusions. CORE-7716 svn path=/trunk/; revision=61940
This commit is contained in:
parent
c83d2b54d2
commit
63f81cf7c1
8 changed files with 18 additions and 5 deletions
|
@ -5,6 +5,7 @@ add_library(serenum SHARED
|
|||
misc.c
|
||||
pdo.c
|
||||
serenum.c
|
||||
guid.c
|
||||
serenum.rc)
|
||||
|
||||
add_pch(serenum serenum.h)
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
|
||||
#include "serenum.h"
|
||||
|
||||
#include <debug.h>
|
||||
|
||||
static NTSTATUS
|
||||
DeviceIoControl(
|
||||
IN PDEVICE_OBJECT DeviceObject,
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
|
||||
#include "serenum.h"
|
||||
|
||||
#include <debug.h>
|
||||
|
||||
NTSTATUS NTAPI
|
||||
SerenumAddDevice(
|
||||
IN PDRIVER_OBJECT DriverObject,
|
||||
|
|
7
reactos/drivers/serial/serenum/guid.c
Normal file
7
reactos/drivers/serial/serenum/guid.c
Normal file
|
@ -0,0 +1,7 @@
|
|||
/* DO NOT USE THE PRECOMPILED HEADER FOR THIS FILE! */
|
||||
|
||||
#include <ntdef.h>
|
||||
#include <initguid.h>
|
||||
#include <ntddser.h>
|
||||
|
||||
/* NO CODE HERE, THIS IS JUST REQUIRED FOR THE GUID DEFINITIONS */
|
|
@ -9,6 +9,8 @@
|
|||
|
||||
#include "serenum.h"
|
||||
|
||||
#include <debug.h>
|
||||
|
||||
static IO_COMPLETION_ROUTINE ForwardIrpAndWaitCompletion;
|
||||
|
||||
/* I really want PCSZ strings as last arguments because
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
|
||||
#include "serenum.h"
|
||||
|
||||
#include <debug.h>
|
||||
|
||||
static NTSTATUS
|
||||
SerenumPdoStartDevice(
|
||||
IN PDEVICE_OBJECT DeviceObject)
|
||||
|
|
|
@ -7,9 +7,10 @@
|
|||
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
|
||||
*/
|
||||
|
||||
#define INITGUID
|
||||
#include "serenum.h"
|
||||
|
||||
#include <debug.h>
|
||||
|
||||
static DRIVER_DISPATCH SerenumPnp;
|
||||
static DRIVER_DISPATCH IrpStub;
|
||||
static DRIVER_UNLOAD DriverUnload;
|
||||
|
|
|
@ -8,11 +8,7 @@
|
|||
*/
|
||||
|
||||
#include <ntifs.h>
|
||||
#include <ntddk.h>
|
||||
#include <ntddser.h>
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <debug.h>
|
||||
|
||||
typedef enum
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue