Author: akhaldi
Date: Fri Jan 3 10:56:03 2014
New Revision: 61497
URL:
http://svn.reactos.org/svn/reactos?rev=61497&view=rev
Log:
[HIDCLASS]
* Do not include debug.h into the main header.
* Cleanup the main header.
* Improve the GUIDs situation.
CORE-7716
Modified:
trunk/reactos/drivers/hid/hidclass/fdo.c
trunk/reactos/drivers/hid/hidclass/hidclass.c
trunk/reactos/drivers/hid/hidclass/pdo.c
trunk/reactos/drivers/hid/hidclass/precomp.h
Modified: trunk/reactos/drivers/hid/hidclass/fdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/hid/hidclass/fdo.c…
==============================================================================
--- trunk/reactos/drivers/hid/hidclass/fdo.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/hid/hidclass/fdo.c [iso-8859-1] Fri Jan 3 10:56:03 2014
@@ -9,6 +9,9 @@
*/
#include "precomp.h"
+
+#define NDEBUG
+#include <debug.h>
NTSTATUS
NTAPI
Modified: trunk/reactos/drivers/hid/hidclass/hidclass.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/hid/hidclass/hidcl…
==============================================================================
--- trunk/reactos/drivers/hid/hidclass/hidclass.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/hid/hidclass/hidclass.c [iso-8859-1] Fri Jan 3 10:56:03 2014
@@ -9,6 +9,9 @@
*/
#include "precomp.h"
+
+#define NDEBUG
+#include <debug.h>
static LPWSTR ClientIdentificationAddress = L"HIDCLASS";
static ULONG HidClassDeviceNumber = 0;
Modified: trunk/reactos/drivers/hid/hidclass/pdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/hid/hidclass/pdo.c…
==============================================================================
--- trunk/reactos/drivers/hid/hidclass/pdo.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/hid/hidclass/pdo.c [iso-8859-1] Fri Jan 3 10:56:03 2014
@@ -9,6 +9,11 @@
*/
#include "precomp.h"
+
+#include <wdmguid.h>
+
+#define NDEBUG
+#include <debug.h>
PHIDP_COLLECTION_DESC
HidClassPDO_GetCollectionDescription(
Modified: trunk/reactos/drivers/hid/hidclass/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/hid/hidclass/preco…
==============================================================================
--- trunk/reactos/drivers/hid/hidclass/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/hid/hidclass/precomp.h [iso-8859-1] Fri Jan 3 10:56:03 2014
@@ -1,14 +1,12 @@
#pragma once
#define _HIDPI_NO_FUNCTION_MACROS_
-#define NDEBUG
-#include <ntddk.h>
+#include <wdm.h>
+#include <hidpddi.h>
+#include <stdio.h>
+
#include <initguid.h>
#include <hidport.h>
-#include <hidpddi.h>
-#include <stdio.h>
-#include <wdmguid.h>
-#include <debug.h>
#define HIDCLASS_TAG 'CdiH'