ReactOS 0.4.15-dev-7953-g1f49173
umusb.h File Reference
#include <WinUsb.h>
Include dependency graph for umusb.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _UMURB_HEADER
 
struct  _UMURB_PIPE_REQUEST
 
struct  _UMURB_SELECT_INTERFACE
 
struct  _UMURB_CONTROL_TRANSFER
 
struct  _UMURB_BULK_OR_INTERRUPT_TRANSFER
 
struct  _UMURB_CONTROL_DESCRIPTOR_REQUEST
 
struct  _UMURB_PIPE_POLICY_REQUEST
 
struct  _UMURB_INTERFACE_POLICY_REQUEST
 
struct  _UMURB_QUERY_PIPE
 
struct  _UMURB_CONTROL_GET_INTERFACE_REQUEST
 
struct  _UMURB_GET_ASSOCIATED_INTERFACE
 
struct  _UMURB_INTERFACE_INFORMATION
 
struct  _UMURB_DEVICE_INFORMATION
 
struct  _UMURB_DESCRIPTOR_REQUEST
 
struct  _UMURB
 

Macros

#define UMURB_FUNCTION_SELECT_CONFIGURATION   0x0000
 
#define UMURB_FUNCTION_SELECT_INTERFACE   0x0001
 
#define UMURB_FUNCTION_ABORT_PIPE   0x0002
 
#define UMURB_FUNCTION_TAKE_FRAME_LENGTH_CONTROL   0x0003
 
#define UMURB_FUNCTION_RELEASE_FRAME_LENGTH_CONTROL   0x0004
 
#define UMURB_FUNCTION_GET_FRAME_LENGTH   0x0005
 
#define UMURB_FUNCTION_SET_FRAME_LENGTH   0x0006
 
#define UMURB_FUNCTION_GET_CURRENT_FRAME_NUMBER   0x0007
 
#define UMURB_FUNCTION_CONTROL_TRANSFER   0x0008
 
#define UMURB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER   0x0009
 
#define UMURB_FUNCTION_ISOCH_TRANSFER   0x000A
 
#define UMURB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE   0x000B
 
#define UMURB_FUNCTION_SET_DESCRIPTOR_TO_DEVICE   0x000C
 
#define UMURB_FUNCTION_SET_FEATURE_TO_DEVICE   0x000D
 
#define UMURB_FUNCTION_SET_FEATURE_TO_INTERFACE   0x000E
 
#define UMURB_FUNCTION_SET_FEATURE_TO_ENDPOINT   0x000F
 
#define UMURB_FUNCTION_CLEAR_FEATURE_TO_DEVICE   0x0010
 
#define UMURB_FUNCTION_CLEAR_FEATURE_TO_INTERFACE   0x0011
 
#define UMURB_FUNCTION_CLEAR_FEATURE_TO_ENDPOINT   0x0012
 
#define UMURB_FUNCTION_GET_STATUS_FROM_DEVICE   0x0013
 
#define UMURB_FUNCTION_GET_STATUS_FROM_INTERFACE   0x0014
 
#define UMURB_FUNCTION_GET_STATUS_FROM_ENDPOINT   0x0015
 
#define UMURB_FUNCTION_RESERVED_0X0016   0x0016
 
#define UMURB_FUNCTION_VENDOR_DEVICE   0x0017
 
#define UMURB_FUNCTION_VENDOR_INTERFACE   0x0018
 
#define UMURB_FUNCTION_VENDOR_ENDPOINT   0x0019
 
#define UMURB_FUNCTION_CLASS_DEVICE   0x001A
 
#define UMURB_FUNCTION_CLASS_INTERFACE   0x001B
 
#define UMURB_FUNCTION_CLASS_ENDPOINT   0x001C
 
#define UMURB_FUNCTION_RESERVE_0X001D   0x001D
 
#define UMURB_FUNCTION_SYNC_RESET_PIPE_AND_CLEAR_STALL   0x001E
 
#define UMURB_FUNCTION_GET_INTERFACE   0x0027
 
#define UMURB_FUNCTION_GET_DESCRIPTOR_FROM_INTERFACE   0x0028
 
#define UMURB_FUNCTION_RESET_PORT   0x0029
 
#define UMURB_FUNCTION_QUERY_PIPE   0x0101
 
#define UMURB_FUNCTION_SET_PIPE_POLICY   0x0102
 
#define UMURB_FUNCTION_GET_PIPE_POLICY   0x0103
 
#define UMURB_FUNCTION_SET_INTERFACE_POWER_POLICY   0x0104
 
#define UMURB_FUNCTION_GET_INTERFACE_POWER_POLICY   0x0105
 
#define UMURB_FUNCTION_ENABLE_INTERFACE_IDLE   0x0106
 
#define UMURB_FUNCTION_DISABLE_INTERFACE_IDLE   0x0107
 
#define UMURB_FUNCTION_FLUSH_PIPE   0x0108
 
#define UMURB_FUNCTION_GET_ASSOCIATED_INTERFACE   0x0109
 
#define UMURB_FUNCTION_GET_DEVICE_INFORMATION   0x010A
 
#define UMURB_FUNCTION_GET_DESCRIPTOR   0x010B
 
#define UMURB_FUNCTION_RELEASE_ASSOCIATED_INTERFACE   0x010C
 
#define FILE_DEVICE_UMDF   ((ULONG)(0x8002))
 
#define UMDF_IOCTL_CODE(id)    CTL_CODE(FILE_DEVICE_UMDF, (id), METHOD_BUFFERED, FILE_READ_ACCESS|FILE_WRITE_ACCESS)
 
#define IOCTL_INETRNAL_USB_SUBMIT_UMURB   UMDF_IOCTL_CODE(0x100)
 

Typedefs

typedef _UMURB_HEADERPUMURB_HEADER
 
typedef struct _UMURB UMURB
 
typedef struct _UMURBPUMURB
 

Macro Definition Documentation

◆ FILE_DEVICE_UMDF

#define FILE_DEVICE_UMDF   ((ULONG)(0x8002))

Definition at line 251 of file umusb.h.

◆ IOCTL_INETRNAL_USB_SUBMIT_UMURB

#define IOCTL_INETRNAL_USB_SUBMIT_UMURB   UMDF_IOCTL_CODE(0x100)

Definition at line 259 of file umusb.h.

◆ UMDF_IOCTL_CODE

Definition at line 256 of file umusb.h.

◆ UMURB_FUNCTION_ABORT_PIPE

#define UMURB_FUNCTION_ABORT_PIPE   0x0002

Definition at line 10 of file umusb.h.

◆ UMURB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER

#define UMURB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER   0x0009

Definition at line 17 of file umusb.h.

◆ UMURB_FUNCTION_CLASS_DEVICE

#define UMURB_FUNCTION_CLASS_DEVICE   0x001A

Definition at line 34 of file umusb.h.

◆ UMURB_FUNCTION_CLASS_ENDPOINT

#define UMURB_FUNCTION_CLASS_ENDPOINT   0x001C

Definition at line 36 of file umusb.h.

◆ UMURB_FUNCTION_CLASS_INTERFACE

#define UMURB_FUNCTION_CLASS_INTERFACE   0x001B

Definition at line 35 of file umusb.h.

◆ UMURB_FUNCTION_CLEAR_FEATURE_TO_DEVICE

#define UMURB_FUNCTION_CLEAR_FEATURE_TO_DEVICE   0x0010

Definition at line 24 of file umusb.h.

◆ UMURB_FUNCTION_CLEAR_FEATURE_TO_ENDPOINT

#define UMURB_FUNCTION_CLEAR_FEATURE_TO_ENDPOINT   0x0012

Definition at line 26 of file umusb.h.

◆ UMURB_FUNCTION_CLEAR_FEATURE_TO_INTERFACE

#define UMURB_FUNCTION_CLEAR_FEATURE_TO_INTERFACE   0x0011

Definition at line 25 of file umusb.h.

◆ UMURB_FUNCTION_CONTROL_TRANSFER

#define UMURB_FUNCTION_CONTROL_TRANSFER   0x0008

Definition at line 16 of file umusb.h.

◆ UMURB_FUNCTION_DISABLE_INTERFACE_IDLE

#define UMURB_FUNCTION_DISABLE_INTERFACE_IDLE   0x0107

Definition at line 52 of file umusb.h.

◆ UMURB_FUNCTION_ENABLE_INTERFACE_IDLE

#define UMURB_FUNCTION_ENABLE_INTERFACE_IDLE   0x0106

Definition at line 51 of file umusb.h.

◆ UMURB_FUNCTION_FLUSH_PIPE

#define UMURB_FUNCTION_FLUSH_PIPE   0x0108

Definition at line 53 of file umusb.h.

◆ UMURB_FUNCTION_GET_ASSOCIATED_INTERFACE

#define UMURB_FUNCTION_GET_ASSOCIATED_INTERFACE   0x0109

Definition at line 54 of file umusb.h.

◆ UMURB_FUNCTION_GET_CURRENT_FRAME_NUMBER

#define UMURB_FUNCTION_GET_CURRENT_FRAME_NUMBER   0x0007

Definition at line 15 of file umusb.h.

◆ UMURB_FUNCTION_GET_DESCRIPTOR

#define UMURB_FUNCTION_GET_DESCRIPTOR   0x010B

Definition at line 56 of file umusb.h.

◆ UMURB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE

#define UMURB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE   0x000B

Definition at line 19 of file umusb.h.

◆ UMURB_FUNCTION_GET_DESCRIPTOR_FROM_INTERFACE

#define UMURB_FUNCTION_GET_DESCRIPTOR_FROM_INTERFACE   0x0028

Definition at line 40 of file umusb.h.

◆ UMURB_FUNCTION_GET_DEVICE_INFORMATION

#define UMURB_FUNCTION_GET_DEVICE_INFORMATION   0x010A

Definition at line 55 of file umusb.h.

◆ UMURB_FUNCTION_GET_FRAME_LENGTH

#define UMURB_FUNCTION_GET_FRAME_LENGTH   0x0005

Definition at line 13 of file umusb.h.

◆ UMURB_FUNCTION_GET_INTERFACE

#define UMURB_FUNCTION_GET_INTERFACE   0x0027

Definition at line 39 of file umusb.h.

◆ UMURB_FUNCTION_GET_INTERFACE_POWER_POLICY

#define UMURB_FUNCTION_GET_INTERFACE_POWER_POLICY   0x0105

Definition at line 50 of file umusb.h.

◆ UMURB_FUNCTION_GET_PIPE_POLICY

#define UMURB_FUNCTION_GET_PIPE_POLICY   0x0103

Definition at line 48 of file umusb.h.

◆ UMURB_FUNCTION_GET_STATUS_FROM_DEVICE

#define UMURB_FUNCTION_GET_STATUS_FROM_DEVICE   0x0013

Definition at line 27 of file umusb.h.

◆ UMURB_FUNCTION_GET_STATUS_FROM_ENDPOINT

#define UMURB_FUNCTION_GET_STATUS_FROM_ENDPOINT   0x0015

Definition at line 29 of file umusb.h.

◆ UMURB_FUNCTION_GET_STATUS_FROM_INTERFACE

#define UMURB_FUNCTION_GET_STATUS_FROM_INTERFACE   0x0014

Definition at line 28 of file umusb.h.

◆ UMURB_FUNCTION_ISOCH_TRANSFER

#define UMURB_FUNCTION_ISOCH_TRANSFER   0x000A

Definition at line 18 of file umusb.h.

◆ UMURB_FUNCTION_QUERY_PIPE

#define UMURB_FUNCTION_QUERY_PIPE   0x0101

Definition at line 46 of file umusb.h.

◆ UMURB_FUNCTION_RELEASE_ASSOCIATED_INTERFACE

#define UMURB_FUNCTION_RELEASE_ASSOCIATED_INTERFACE   0x010C

Definition at line 57 of file umusb.h.

◆ UMURB_FUNCTION_RELEASE_FRAME_LENGTH_CONTROL

#define UMURB_FUNCTION_RELEASE_FRAME_LENGTH_CONTROL   0x0004

Definition at line 12 of file umusb.h.

◆ UMURB_FUNCTION_RESERVE_0X001D

#define UMURB_FUNCTION_RESERVE_0X001D   0x001D

Definition at line 37 of file umusb.h.

◆ UMURB_FUNCTION_RESERVED_0X0016

#define UMURB_FUNCTION_RESERVED_0X0016   0x0016

Definition at line 30 of file umusb.h.

◆ UMURB_FUNCTION_RESET_PORT

#define UMURB_FUNCTION_RESET_PORT   0x0029

Definition at line 41 of file umusb.h.

◆ UMURB_FUNCTION_SELECT_CONFIGURATION

#define UMURB_FUNCTION_SELECT_CONFIGURATION   0x0000

Definition at line 8 of file umusb.h.

◆ UMURB_FUNCTION_SELECT_INTERFACE

#define UMURB_FUNCTION_SELECT_INTERFACE   0x0001

Definition at line 9 of file umusb.h.

◆ UMURB_FUNCTION_SET_DESCRIPTOR_TO_DEVICE

#define UMURB_FUNCTION_SET_DESCRIPTOR_TO_DEVICE   0x000C

Definition at line 20 of file umusb.h.

◆ UMURB_FUNCTION_SET_FEATURE_TO_DEVICE

#define UMURB_FUNCTION_SET_FEATURE_TO_DEVICE   0x000D

Definition at line 21 of file umusb.h.

◆ UMURB_FUNCTION_SET_FEATURE_TO_ENDPOINT

#define UMURB_FUNCTION_SET_FEATURE_TO_ENDPOINT   0x000F

Definition at line 23 of file umusb.h.

◆ UMURB_FUNCTION_SET_FEATURE_TO_INTERFACE

#define UMURB_FUNCTION_SET_FEATURE_TO_INTERFACE   0x000E

Definition at line 22 of file umusb.h.

◆ UMURB_FUNCTION_SET_FRAME_LENGTH

#define UMURB_FUNCTION_SET_FRAME_LENGTH   0x0006

Definition at line 14 of file umusb.h.

◆ UMURB_FUNCTION_SET_INTERFACE_POWER_POLICY

#define UMURB_FUNCTION_SET_INTERFACE_POWER_POLICY   0x0104

Definition at line 49 of file umusb.h.

◆ UMURB_FUNCTION_SET_PIPE_POLICY

#define UMURB_FUNCTION_SET_PIPE_POLICY   0x0102

Definition at line 47 of file umusb.h.

◆ UMURB_FUNCTION_SYNC_RESET_PIPE_AND_CLEAR_STALL

#define UMURB_FUNCTION_SYNC_RESET_PIPE_AND_CLEAR_STALL   0x001E

Definition at line 38 of file umusb.h.

◆ UMURB_FUNCTION_TAKE_FRAME_LENGTH_CONTROL

#define UMURB_FUNCTION_TAKE_FRAME_LENGTH_CONTROL   0x0003

Definition at line 11 of file umusb.h.

◆ UMURB_FUNCTION_VENDOR_DEVICE

#define UMURB_FUNCTION_VENDOR_DEVICE   0x0017

Definition at line 31 of file umusb.h.

◆ UMURB_FUNCTION_VENDOR_ENDPOINT

#define UMURB_FUNCTION_VENDOR_ENDPOINT   0x0019

Definition at line 33 of file umusb.h.

◆ UMURB_FUNCTION_VENDOR_INTERFACE

#define UMURB_FUNCTION_VENDOR_INTERFACE   0x0018

Definition at line 32 of file umusb.h.

Typedef Documentation

◆ PUMURB

typedef struct _UMURB * PUMURB

◆ PUMURB_HEADER

Definition at line 71 of file umusb.h.

◆ UMURB

typedef struct _UMURB UMURB