[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:
Amine Khaldi 2014-02-03 00:13:57 +00:00
parent c83d2b54d2
commit 63f81cf7c1
8 changed files with 18 additions and 5 deletions

View file

@ -5,6 +5,7 @@ add_library(serenum SHARED
misc.c
pdo.c
serenum.c
guid.c
serenum.rc)
add_pch(serenum serenum.h)

View file

@ -11,6 +11,8 @@
#include "serenum.h"
#include <debug.h>
static NTSTATUS
DeviceIoControl(
IN PDEVICE_OBJECT DeviceObject,

View file

@ -9,6 +9,8 @@
#include "serenum.h"
#include <debug.h>
NTSTATUS NTAPI
SerenumAddDevice(
IN PDRIVER_OBJECT DriverObject,

View 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 */

View file

@ -9,6 +9,8 @@
#include "serenum.h"
#include <debug.h>
static IO_COMPLETION_ROUTINE ForwardIrpAndWaitCompletion;
/* I really want PCSZ strings as last arguments because

View file

@ -9,6 +9,8 @@
#include "serenum.h"
#include <debug.h>
static NTSTATUS
SerenumPdoStartDevice(
IN PDEVICE_OBJECT DeviceObject)

View file

@ -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;

View file

@ -8,11 +8,7 @@
*/
#include <ntifs.h>
#include <ntddk.h>
#include <ntddser.h>
#include <stdio.h>
#include <stdarg.h>
#include <debug.h>
typedef enum
{