Windows x64 URB结构体成员偏移地址
2021-11-16
99
0
URB
4: kd> dt _URB
UsbzhVCamera!_URB
+0x000 UrbHeader : _URB_HEADER
+0x000 UrbSelectInterface : _URB_SELECT_INTERFACE
+0x000 UrbSelectConfiguration : _URB_SELECT_CONFIGURATION
+0x000 UrbPipeRequest : _URB_PIPE_REQUEST
+0x000 UrbFrameLengthControl : _URB_FRAME_LENGTH_CONTROL
+0x000 UrbGetFrameLength : _URB_GET_FRAME_LENGTH
+0x000 UrbSetFrameLength : _URB_SET_FRAME_LENGTH
+0x000 UrbGetCurrentFrameNumber : _URB_GET_CURRENT_FRAME_NUMBER
+0x000 UrbControlTransfer : _URB_CONTROL_TRANSFER
+0x000 UrbControlTransferEx : _URB_CONTROL_TRANSFER_EX
+0x000 UrbBulkOrInterruptTransfer : _URB_BULK_OR_INTERRUPT_TRANSFER
+0x000 UrbIsochronousTransfer : _URB_ISOCH_TRANSFER
+0x000 UrbControlDescriptorRequest : _URB_CONTROL_DESCRIPTOR_REQUEST
+0x000 UrbControlGetStatusRequest : _URB_CONTROL_GET_STATUS_REQUEST
+0x000 UrbControlFeatureRequest : _URB_CONTROL_FEATURE_REQUEST
+0x000 UrbControlVendorClassRequest : _URB_CONTROL_VENDOR_OR_CLASS_REQUEST
+0x000 UrbControlGetInterfaceRequest : _URB_CONTROL_GET_INTERFACE_REQUEST
+0x000 UrbControlGetConfigurationRequest : _URB_CONTROL_GET_CONFIGURATION_REQUEST
+0x000 UrbOSFeatureDescriptorRequest : _URB_OS_FEATURE_DESCRIPTOR_REQUEST
+0x000 UrbOpenStaticStreams : _URB_OPEN_STATIC_STREAMS
+0x000 UrbGetIsochPipeTransferPathDelays : _URB_GET_ISOCH_PIPE_TRANSFER_PATH_DELAYS
URB_HEADER
4: kd> dt _URB_HEADER
UsbzhVCamera!_URB_HEADER
+0x000 Length : Uint2B
+0x002 Function : Uint2B
+0x004 Status : Int4B
+0x008 UsbdDeviceHandle : Ptr64 Void
+0x010 UsbdFlags : Uint4B
URB_SELECT_INTERFACE
4: kd> dt _URB_SELECT_INTERFACE
UsbzhVCamera!_URB_SELECT_INTERFACE
+0x000 Hdr : _URB_HEADER
+0x018 ConfigurationHandle : Ptr64 Void
+0x020 Interface : _USBD_INTERFACE_INFORMATION
URB_SELECT_CONFIGURATION
4: kd> dt _URB_SELECT_CONFIGURATION
UsbzhVCamera!_URB_SELECT_CONFIGURATION
+0x000 Hdr : _URB_HEADER
+0x018 ConfigurationDescriptor : Ptr64 _USB_CONFIGURATION_DESCRIPTOR
+0x020 ConfigurationHandle : Ptr64 Void
+0x028 Interface : _USBD_INTERFACE_INFORMATION
URB_PIPE_REQUEST
4: kd> dt _URB_PIPE_REQUEST
UsbzhVCamera!_URB_PIPE_REQUEST
+0x000 Hdr : _URB_HEADER
+0x018 PipeHandle : Ptr64 Void
+0x020 Reserved : Uint4B
URB_FRAME_LENGTH_CONTROL
4: kd> dt _URB_FRAME_LENGTH_CONTROL
UsbzhVCamera!_URB_FRAME_LENGTH_CONTROL
+0x000 Hdr : _URB_HEADER
URB_GET_FRAME_LENGTH
4: kd> dt _URB_GET_FRAME_LENGTH
UsbzhVCamera!_URB_GET_FRAME_LENGTH
+0x000 Hdr : _URB_HEADER
+0x018 FrameLength : Uint4B
+0x01c FrameNumber : Uint4B
URB_SET_FRAME_LENGTH
4: kd> dt _URB_SET_FRAME_LENGTH
UsbzhVCamera!_URB_SET_FRAME_LENGTH
+0x000 Hdr : _URB_HEADER
+0x018 FrameLengthDelta : Int4B
URB_GET_CURRENT_FRAME_NUMBER
4: kd> dt _URB_GET_CURRENT_FRAME_NUMBER
UsbzhVCamera!_URB_GET_CURRENT_FRAME_NUMBER
+0x000 Hdr : _URB_HEADER
+0x018 FrameNumber : Uint4B
URB_CONTROL_TRANSFER
4: kd> dt _URB_CONTROL_TRANSFER
UsbzhVCamera!_URB_CONTROL_TRANSFER
+0x000 Hdr : _URB_HEADER
+0x018 PipeHandle : Ptr64 Void
+0x020 TransferFlags : Uint4B
+0x024 TransferBufferLength : Uint4B
+0x028 TransferBuffer : Ptr64 Void
+0x030 TransferBufferMDL : Ptr64 _MDL
+0x038 UrbLink : Ptr64 _URB
+0x040 hca : _URB_HCD_AREA
+0x080 SetupPacket : [8] UChar
URB_CONTROL_TRANSFER_EX
4: kd> dt _URB_CONTROL_TRANSFER_EX
UsbzhVCamera!_URB_CONTROL_TRANSFER_EX
+0x000 Hdr : _URB_HEADER
+0x018 PipeHandle : Ptr64 Void
+0x020 TransferFlags : Uint4B
+0x024 TransferBufferLength : Uint4B
+0x028 TransferBuffer : Ptr64 Void
+0x030 TransferBufferMDL : Ptr64 _MDL
+0x038 Timeout : Uint4B
+0x040 hca : _URB_HCD_AREA
+0x080 SetupPacket : [8] UChar
URB_BULK_OR_INTERRUPT_TRANSFER
4: kd> dt _URB_BULK_OR_INTERRUPT_TRANSFER
UsbzhVCamera!_URB_BULK_OR_INTERRUPT_TRANSFER
+0x000 Hdr : _URB_HEADER
+0x018 PipeHandle : Ptr64 Void
+0x020 TransferFlags : Uint4B
+0x024 TransferBufferLength : Uint4B
+0x028 TransferBuffer : Ptr64 Void
+0x030 TransferBufferMDL : Ptr64 _MDL
+0x038 UrbLink : Ptr64 _URB
+0x040 hca : _URB_HCD_AREA
URB_BULK_OR_INTERRUPT_TRANSFER
4: kd> dt _URB_BULK_OR_INTERRUPT_TRANSFER
UsbzhVCamera!_URB_BULK_OR_INTERRUPT_TRANSFER
+0x000 Hdr : _URB_HEADER
+0x018 PipeHandle : Ptr64 Void
+0x020 TransferFlags : Uint4B
+0x024 TransferBufferLength : Uint4B
+0x028 TransferBuffer : Ptr64 Void
+0x030 TransferBufferMDL : Ptr64 _MDL
+0x038 UrbLink : Ptr64 _URB
+0x040 hca : _URB_HCD_AREA
URB_ISOCH_TRANSFER
4: kd> dt _URB_ISOCH_TRANSFER
UsbzhVCamera!_URB_ISOCH_TRANSFER
+0x000 Hdr : _URB_HEADER
+0x018 PipeHandle : Ptr64 Void
+0x020 TransferFlags : Uint4B
+0x024 TransferBufferLength : Uint4B
+0x028 TransferBuffer : Ptr64 Void
+0x030 TransferBufferMDL : Ptr64 _MDL
+0x038 UrbLink : Ptr64 _URB
+0x040 hca : _URB_HCD_AREA
+0x080 StartFrame : Uint4B
+0x084 NumberOfPackets : Uint4B
+0x088 ErrorCount : Uint4B
+0x08c IsoPacket : [1] _USBD_ISO_PACKET_DESCRIPTOR
URB_CONTROL_DESCRIPTOR_REQUEST
4: kd> dt _URB_CONTROL_DESCRIPTOR_REQUEST
UsbzhVCamera!_URB_CONTROL_DESCRIPTOR_REQUEST
+0x000 Hdr : _URB_HEADER
+0x018 Reserved : Ptr64 Void
+0x020 Reserved0 : Uint4B
+0x024 TransferBufferLength : Uint4B
+0x028 TransferBuffer : Ptr64 Void
+0x030 TransferBufferMDL : Ptr64 _MDL
+0x038 UrbLink : Ptr64 _URB
+0x040 hca : _URB_HCD_AREA
+0x080 Reserved1 : Uint2B
+0x082 Index : UChar
+0x083 DescriptorType : UChar
+0x084 LanguageId : Uint2B
+0x086 Reserved2 : Uint2B
URB_CONTROL_GET_STATUS_REQUEST
4: kd> dt _URB_CONTROL_GET_STATUS_REQUEST
UsbzhVCamera!_URB_CONTROL_GET_STATUS_REQUEST
+0x000 Hdr : _URB_HEADER
+0x018 Reserved : Ptr64 Void
+0x020 Reserved0 : Uint4B
+0x024 TransferBufferLength : Uint4B
+0x028 TransferBuffer : Ptr64 Void
+0x030 TransferBufferMDL : Ptr64 _MDL
+0x038 UrbLink : Ptr64 _URB
+0x040 hca : _URB_HCD_AREA
+0x080 Reserved1 : [4] UChar
+0x084 Index : Uint2B
+0x086 Reserved2 : Uint2B
URB_CONTROL_FEATURE_REQUEST
4: kd> dt _URB_CONTROL_FEATURE_REQUEST
UsbzhVCamera!_URB_CONTROL_FEATURE_REQUEST
+0x000 Hdr : _URB_HEADER
+0x018 Reserved : Ptr64 Void
+0x020 Reserved2 : Uint4B
+0x024 Reserved3 : Uint4B
+0x028 Reserved4 : Ptr64 Void
+0x030 Reserved5 : Ptr64 _MDL
+0x038 UrbLink : Ptr64 _URB
+0x040 hca : _URB_HCD_AREA
+0x080 Reserved0 : Uint2B
+0x082 FeatureSelector : Uint2B
+0x084 Index : Uint2B
+0x086 Reserved1 : Uint2B
URB_CONTROL_VENDOR_OR_CLASS_REQUEST
4: kd> dt _URB_CONTROL_VENDOR_OR_CLASS_REQUEST
UsbzhVCamera!_URB_CONTROL_VENDOR_OR_CLASS_REQUEST
+0x000 Hdr : _URB_HEADER
+0x018 Reserved : Ptr64 Void
+0x020 TransferFlags : Uint4B
+0x024 TransferBufferLength : Uint4B
+0x028 TransferBuffer : Ptr64 Void
+0x030 TransferBufferMDL : Ptr64 _MDL
+0x038 UrbLink : Ptr64 _URB
+0x040 hca : _URB_HCD_AREA
+0x080 RequestTypeReservedBits : UChar
+0x081 Request : UChar
+0x082 Value : Uint2B
+0x084 Index : Uint2B
+0x086 Reserved1 : Uint2B
URB_CONTROL_GET_INTERFACE_REQUEST
4: kd> dt _URB_CONTROL_GET_INTERFACE_REQUEST
UsbzhVCamera!_URB_CONTROL_GET_INTERFACE_REQUEST
+0x000 Hdr : _URB_HEADER
+0x018 Reserved : Ptr64 Void
+0x020 Reserved0 : Uint4B
+0x024 TransferBufferLength : Uint4B
+0x028 TransferBuffer : Ptr64 Void
+0x030 TransferBufferMDL : Ptr64 _MDL
+0x038 UrbLink : Ptr64 _URB
+0x040 hca : _URB_HCD_AREA
+0x080 Reserved1 : [4] UChar
+0x084 Interface : Uint2B
+0x086 Reserved2 : Uint2B
URB_CONTROL_GET_CONFIGURATION_REQUEST
4: kd> dt _URB_CONTROL_GET_CONFIGURATION_REQUEST
UsbzhVCamera!_URB_CONTROL_GET_CONFIGURATION_REQUEST
+0x000 Hdr : _URB_HEADER
+0x018 Reserved : Ptr64 Void
+0x020 Reserved0 : Uint4B
+0x024 TransferBufferLength : Uint4B
+0x028 TransferBuffer : Ptr64 Void
+0x030 TransferBufferMDL : Ptr64 _MDL
+0x038 UrbLink : Ptr64 _URB
+0x040 hca : _URB_HCD_AREA
+0x080 Reserved1 : [8] UChar
URB_OS_FEATURE_DESCRIPTOR_REQUEST
4: kd> dt _URB_OS_FEATURE_DESCRIPTOR_REQUEST
UsbzhVCamera!_URB_OS_FEATURE_DESCRIPTOR_REQUEST
+0x000 Hdr : _URB_HEADER
+0x018 Reserved : Ptr64 Void
+0x020 Reserved0 : Uint4B
+0x024 TransferBufferLength : Uint4B
+0x028 TransferBuffer : Ptr64 Void
+0x030 TransferBufferMDL : Ptr64 _MDL
+0x038 UrbLink : Ptr64 _URB
+0x040 hca : _URB_HCD_AREA
+0x080 Recipient : Pos 0, 5 Bits
+0x080 Reserved1 : Pos 5, 3 Bits
+0x081 Reserved2 : UChar
+0x082 InterfaceNumber : UChar
+0x083 MS_PageIndex : UChar
+0x084 MS_FeatureDescriptorIndex : Uint2B
+0x086 Reserved3 : Uint2B
URB_OPEN_STATIC_STREAMS
4: kd> dt _URB_OPEN_STATIC_STREAMS
UsbzhVCamera!_URB_OPEN_STATIC_STREAMS
+0x000 Hdr : _URB_HEADER
+0x018 PipeHandle : Ptr64 Void
+0x020 NumberOfStreams : Uint4B
+0x024 StreamInfoVersion : Uint2B
+0x026 StreamInfoSize : Uint2B
+0x028 Streams : Ptr64 _USBD_STREAM_INFORMATION
URB_GET_ISOCH_PIPE_TRANSFER_PATH_DELAYS
4: kd> dt _URB_GET_ISOCH_PIPE_TRANSFER_PATH_DELAYS
UsbzhVCamera!_URB_GET_ISOCH_PIPE_TRANSFER_PATH_DELAYS
+0x000 Hdr : _URB_HEADER
+0x018 PipeHandle : Ptr64 Void
+0x020 MaximumSendPathDelayInMilliSeconds : Uint4B
+0x024 MaximumCompletionPathDelayInMilliSeconds : Uint4B