mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 13:10:39 +00:00
[USBHUB]
* Do not include debug.h into the main header. * Move some inclusions to the main header. * Remove inclusions and definitions that already exist in the main header. CORE-7716 svn path=/trunk/; revision=61330
This commit is contained in:
parent
95313a5fb0
commit
fa1dfebfeb
6 changed files with 22 additions and 5 deletions
|
@ -8,9 +8,11 @@
|
||||||
* Johannes Anderwald (johannes.anderwald@reactos.org)
|
* Johannes Anderwald (johannes.anderwald@reactos.org)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define INITGUID
|
|
||||||
#include "usbhub.h"
|
#include "usbhub.h"
|
||||||
|
|
||||||
|
#define NDEBUG
|
||||||
|
#include <debug.h>
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
QueryStatusChangeEndpoint(
|
QueryStatusChangeEndpoint(
|
||||||
IN PDEVICE_OBJECT DeviceObject);
|
IN PDEVICE_OBJECT DeviceObject);
|
||||||
|
|
|
@ -7,8 +7,12 @@
|
||||||
* Michael Martin (michael.martin@reactos.org)
|
* Michael Martin (michael.martin@reactos.org)
|
||||||
* Johannes Anderwald (johannes.anderwald@reactos.org)
|
* Johannes Anderwald (johannes.anderwald@reactos.org)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "usbhub.h"
|
#include "usbhub.h"
|
||||||
|
|
||||||
|
#define NDEBUG
|
||||||
|
#include <debug.h>
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
USBHUB_ParentFDOStartDevice(
|
USBHUB_ParentFDOStartDevice(
|
||||||
IN PDEVICE_OBJECT DeviceObject,
|
IN PDEVICE_OBJECT DeviceObject,
|
||||||
|
|
|
@ -7,8 +7,11 @@
|
||||||
* Michael Martin (michael.martin@reactos.org)
|
* Michael Martin (michael.martin@reactos.org)
|
||||||
* Johannes Anderwald (johannes.anderwald@reactos.org)
|
* Johannes Anderwald (johannes.anderwald@reactos.org)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "usbhub.h"
|
#include "usbhub.h"
|
||||||
#include <stdarg.h>
|
|
||||||
|
#define NDEBUG
|
||||||
|
#include <debug.h>
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
DumpDeviceDescriptor(PUSB_DEVICE_DESCRIPTOR DeviceDescriptor)
|
DumpDeviceDescriptor(PUSB_DEVICE_DESCRIPTOR DeviceDescriptor)
|
||||||
|
|
|
@ -11,6 +11,9 @@
|
||||||
|
|
||||||
#include "usbhub.h"
|
#include "usbhub.h"
|
||||||
|
|
||||||
|
#define NDEBUG
|
||||||
|
#include <debug.h>
|
||||||
|
|
||||||
#define IO_METHOD_FROM_CTL_CODE(ctlCode) (ctlCode&0x00000003)
|
#define IO_METHOD_FROM_CTL_CODE(ctlCode) (ctlCode&0x00000003)
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
|
|
|
@ -11,6 +11,9 @@
|
||||||
|
|
||||||
#include "usbhub.h"
|
#include "usbhub.h"
|
||||||
|
|
||||||
|
#define NDEBUG
|
||||||
|
#include <debug.h>
|
||||||
|
|
||||||
NTSTATUS NTAPI
|
NTSTATUS NTAPI
|
||||||
USBHUB_Create(
|
USBHUB_Create(
|
||||||
IN PDEVICE_OBJECT DeviceObject,
|
IN PDEVICE_OBJECT DeviceObject,
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define NDEBUG
|
#define INITGUID
|
||||||
|
|
||||||
#include <ntifs.h>
|
#include <ntifs.h>
|
||||||
#include <ntddk.h>
|
#include <ntddk.h>
|
||||||
#include <wdmguid.h>
|
#include <wdmguid.h>
|
||||||
|
@ -8,9 +9,10 @@
|
||||||
#include <usbbusif.h>
|
#include <usbbusif.h>
|
||||||
#include <usbioctl.h>
|
#include <usbioctl.h>
|
||||||
#include <usb.h>
|
#include <usb.h>
|
||||||
|
#include <stdarg.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <usbdlib.h>
|
#include <usbdlib.h>
|
||||||
#include <debug.h>
|
|
||||||
//BROKEN: #include <usbprotocoldefs.h>
|
//BROKEN: #include <usbprotocoldefs.h>
|
||||||
#include <pseh/pseh2.h>
|
#include <pseh/pseh2.h>
|
||||||
|
|
||||||
|
@ -193,4 +195,4 @@ GetPortStatusAndChange(
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
USBHUB_ParentFDOStartDevice(
|
USBHUB_ParentFDOStartDevice(
|
||||||
IN PDEVICE_OBJECT DeviceObject,
|
IN PDEVICE_OBJECT DeviceObject,
|
||||||
IN PIRP Irp);
|
IN PIRP Irp);
|
||||||
|
|
Loading…
Reference in a new issue