* Do not include debug.h into the main header.
* Improve the GUIDs situation.
* Improve header inclusions.
CORE-7716
svn path=/trunk/; revision=61940
misc.c
pdo.c
serenum.c
+ guid.c
serenum.rc)
add_pch(serenum serenum.h)
#include "serenum.h"
+#include <debug.h>
+
static NTSTATUS
DeviceIoControl(
IN PDEVICE_OBJECT DeviceObject,
#include "serenum.h"
+#include <debug.h>
+
NTSTATUS NTAPI
SerenumAddDevice(
IN PDRIVER_OBJECT DriverObject,
--- /dev/null
+/* 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 */
#include "serenum.h"
+#include <debug.h>
+
static IO_COMPLETION_ROUTINE ForwardIrpAndWaitCompletion;
/* I really want PCSZ strings as last arguments because
#include "serenum.h"
+#include <debug.h>
+
static NTSTATUS
SerenumPdoStartDevice(
IN PDEVICE_OBJECT DeviceObject)
* 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;
*/
#include <ntifs.h>
-#include <ntddk.h>
#include <ntddser.h>
-#include <stdio.h>
-#include <stdarg.h>
-#include <debug.h>
typedef enum
{