Jungo WinDriver  
Official Documentation
windrvr_usb.h File Reference

Go to the source code of this file.

Data Structures

struct  WDU_PIPE_INFO
 
struct  WDU_INTERFACE_DESCRIPTOR
 
struct  WDU_ENDPOINT_DESCRIPTOR
 
struct  WDU_CONFIGURATION_DESCRIPTOR
 
struct  WDU_DEVICE_DESCRIPTOR
 
struct  WDU_ALTERNATE_SETTING
 
struct  WDU_INTERFACE
 
struct  WDU_CONFIGURATION
 
struct  WDU_DEVICE
 
struct  WDU_MATCH_TABLE
 
struct  WDU_GET_DEVICE_DATA
 
struct  WDU_SET_INTERFACE
 
struct  WDU_RESET_PIPE
 
struct  WDU_HALT_TRANSFER
 
struct  WDU_WAKEUP
 
struct  WDU_SELECTIVE_SUSPEND
 
struct  WDU_RESET_DEVICE
 
struct  WDU_TRANSFER
 
struct  WDU_GET_DESCRIPTOR
 
struct  WDU_STREAM
 
struct  WDU_STREAM_STATUS
 

Macros

#define PAD_TO_64(pName)
 
#define PAD_TO_64_PTR_ARR(pName, size)
 
#define WD_USB_MAX_PIPE_NUMBER   32
 
#define WD_USB_MAX_ENDPOINTS   WD_USB_MAX_PIPE_NUMBER
 
#define WD_USB_MAX_INTERFACES   30
 
#define WD_USB_MAX_ALT_SETTINGS   255
 
#define WDU_DEVICE_DESC_TYPE   0x01
 
#define WDU_CONFIG_DESC_TYPE   0x02
 
#define WDU_STRING_DESC_STRING   0x03
 
#define WDU_INTERFACE_DESC_TYPE   0x04
 
#define WDU_ENDPOINT_DESC_TYPE   0x05
 
#define WDU_ENDPOINT_TYPE_MASK   0x03
 
#define WDU_ENDPOINT_DIRECTION_MASK   0x80
 
#define WDU_ENDPOINT_ADDRESS_MASK   0x0f
 
#define WDU_ENDPOINT_DIRECTION_OUT(addr)    (!((addr) & WDU_ENDPOINT_DIRECTION_MASK))
 
#define WDU_ENDPOINT_DIRECTION_IN(addr)    ((addr) & WDU_ENDPOINT_DIRECTION_MASK)
 
#define WDU_GET_MAX_PACKET_SIZE(x)    ((USHORT) (((x) & 0x7ff) * (1 + (((x) & 0x1800) >> 11))))
 

Typedefs

typedef PVOID WDU_REGISTER_DEVICES_HANDLE
 

Enumerations

enum  USB_PIPE_TYPE { PIPE_TYPE_CONTROL = 0 , PIPE_TYPE_ISOCHRONOUS = 1 , PIPE_TYPE_BULK = 2 , PIPE_TYPE_INTERRUPT = 3 }
 
enum  WDU_DIR { WDU_DIR_IN = 1 , WDU_DIR_OUT = 2 , WDU_DIR_IN_OUT = 3 }
 
enum  {
  USB_ISOCH_RESET = 0x10 , USB_ISOCH_FULL_PACKETS_ONLY = 0x20 , USB_ABORT_PIPE = 0x40 , USB_ISOCH_NOASAP = 0x80 ,
  USB_BULK_INT_URB_SIZE_OVERRIDE_128K = 0x100 , USB_STREAM_OVERWRITE_BUFFER_WHEN_FULL = 0x200 , USB_TRANSFER_HALT = 0x1 , USB_SHORT_TRANSFER = 0x2 ,
  USB_FULL_TRANSFER = 0x4 , USB_ISOCH_ASAP = 0x8
}
 
enum  USB_DIR { USB_DIR_IN = 1 , USB_DIR_OUT = 2 , USB_DIR_IN_OUT = 3 }
 
enum  WD_DEVICE_REGISTRY_PROPERTY {
  WdDevicePropertyDeviceDescription , WdDevicePropertyHardwareID , WdDevicePropertyCompatibleIDs , WdDevicePropertyBootConfiguration ,
  WdDevicePropertyBootConfigurationTranslated , WdDevicePropertyClassName , WdDevicePropertyClassGuid , WdDevicePropertyDriverKeyName ,
  WdDevicePropertyManufacturer , WdDevicePropertyFriendlyName , WdDevicePropertyLocationInformation , WdDevicePropertyPhysicalDeviceObjectName ,
  WdDevicePropertyBusTypeGuid , WdDevicePropertyLegacyBusType , WdDevicePropertyBusNumber , WdDevicePropertyEnumeratorName ,
  WdDevicePropertyAddress , WdDevicePropertyUINumber , WdDevicePropertyInstallState , WdDevicePropertyRemovalPolicy
}
 
enum  WDU_WAKEUP_OPTIONS { WDU_WAKEUP_ENABLE = 0x1 , WDU_WAKEUP_DISABLE = 0x2 }
 
enum  WDU_SELECTIVE_SUSPEND_OPTIONS { WDU_SELECTIVE_SUSPEND_SUBMIT = 0x1 , WDU_SELECTIVE_SUSPEND_CANCEL = 0x2 }