* Cleanup the main header.
* Improve the GUIDs situation.
CORE-7716

svn path=/trunk/; revision=61503
This commit is contained in:
Amine Khaldi 2014-01-03 17:45:05 +00:00
parent b7e055c129
commit 19b6ce21cd
5 changed files with 14 additions and 10 deletions

View file

@ -3,7 +3,7 @@ add_definitions(-DDEBUG_MODE)
include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
add_library(usbhub SHARED fdo.c misc.c pdo.c hub_fdo.c usbhub.c usbhub.rc)
add_library(usbhub SHARED fdo.c misc.c pdo.c hub_fdo.c usbhub.c guid.c usbhub.rc)
target_link_libraries(usbhub ${PSEH_LIB})

View file

@ -10,6 +10,8 @@
#include "usbhub.h"
#include <stdio.h>
#define NDEBUG
#include <debug.h>

View file

@ -0,0 +1,9 @@
/* DO NOT USE THE PRECOMPILED HEADER FOR THIS FILE! */
#include <wdm.h>
#include <initguid.h>
#include <wdmguid.h>
#include <hubbusif.h>
#include <usbbusif.h>
/* NO CODE HERE, THIS IS JUST REQUIRED FOR THE GUID DEFINITIONS */

View file

@ -11,6 +11,8 @@
#include "usbhub.h"
#include <wdmguid.h>
#define NDEBUG
#include <debug.h>

View file

@ -1,20 +1,11 @@
#pragma once
#define INITGUID
#include <ntifs.h>
#include <ntddk.h>
#include <wdmguid.h>
#include <hubbusif.h>
#include <usbbusif.h>
#include <usbioctl.h>
#include <usb.h>
#include <stdarg.h>
#include <stdio.h>
#include <usbdlib.h>
//BROKEN: #include <usbprotocoldefs.h>
#include <pseh/pseh2.h>
#define USB_HUB_TAG 'hbsu'
#define USB_MAXCHILDREN 127