ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

usbhub.h File Reference
#include <ntifs.h>
#include <ntddk.h>
#include <wdmguid.h>
#include <hubbusif.h>
#include <usbbusif.h>
#include <usbioctl.h>
#include <usb.h>
#include <stdio.h>
#include <usbdlib.h>
#include <debug.h>
#include <pseh/pseh2.h>

Go to the source code of this file.

Data Structures

struct  PPORT_STATUS_CHANGE
struct  PWORK_ITEM_DATA
struct  PCOMMON_DEVICE_EXTENSION
struct  PHUB_CHILDDEVICE_EXTENSION
struct  PHUB_DEVICE_EXTENSION

Defines

#define NDEBUG
#define USB_HUB_TAG   'hbsu'
#define USB_MAXCHILDREN   127
#define C_HUB_LOCAL_POWER   0
#define C_HUB_OVER_CURRENT   1
#define PORT_CONNECTION   0
#define PORT_ENABLE   1
#define PORT_SUSPEND   2
#define PORT_OVER_CURRENT   3
#define PORT_RESET   4
#define PORT_POWER   8
#define PORT_LOW_SPEED   9
#define C_PORT_CONNECTION   16
#define C_PORT_ENABLE   17
#define C_PORT_SUSPEND   18
#define C_PORT_OVER_CURRENT   19
#define C_PORT_RESET   20
#define PORT_TEST   21
#define PORT_INDICATOR   22

Typedefs

typedef struct
COMMON_DEVICE_EXTENSION
PCOMMON_DEVICE_EXTENSION

Functions

NTSTATUS NTAPI USBHUB_Create (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
NTSTATUS NTAPI USBHUB_Close (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
NTSTATUS NTAPI USBHUB_Cleanup (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
NTSTATUS USBHUB_FdoHandleDeviceControl (PDEVICE_OBJECT DeviceObject, PIRP Irp)
NTSTATUS USBHUB_FdoHandlePnp (PDEVICE_OBJECT DeviceObject, PIRP Irp)
NTSTATUS ForwardIrpAndWait (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
NTSTATUS ForwardIrpAndForget (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
NTSTATUS SubmitRequestToRootHub (IN PDEVICE_OBJECT RootHubDeviceObject, IN ULONG IoControlCode, OUT PVOID OutParameter1, OUT PVOID OutParameter2)
NTSTATUS FDO_QueryInterface (IN PDEVICE_OBJECT DeviceObject, IN OUT PUSB_BUS_INTERFACE_USBDI_V2 Interface)
NTSTATUS USBHUB_PdoHandlePnp (PDEVICE_OBJECT DeviceObject, PIRP Irp)
NTSTATUS USBHUB_PdoHandleInternalDeviceControl (PDEVICE_OBJECT DeviceObject, PIRP Irp)
VOID DumpDeviceDescriptor (PUSB_DEVICE_DESCRIPTOR DeviceDescriptor)
VOID DumpConfigurationDescriptor (PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor)
VOID DumpFullConfigurationDescriptor (PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor)
NTSTATUS GetPortStatusAndChange (IN PDEVICE_OBJECT RootHubDeviceObject, IN ULONG PortId, OUT PPORT_STATUS_CHANGE StatusChange)
NTSTATUS USBHUB_ParentFDOStartDevice (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)

Generated on Sun May 27 2012 05:26:44 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.