2.2.1.4.3 Device Read Request (DR_READ_REQ)
This header initiates a read request. This message can have different purposes depending on the device for which it is issued. The device type is determined by the DeviceId field in the DR_DEVICE_IOREQUEST header.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DeviceIoRequest (24 bytes) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
Length |
|||||||||||||||||||||||||||||||
Offset |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
Padding (20 bytes) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
DeviceIoRequest (24 bytes): A DR_DEVICE_IOREQUEST header. The MajorFunction field in this header MUST be set to IRP_MJ_READ.
Length (4 bytes): A 32-bit unsigned integer. This field specifies the maximum number of bytes to be read from the device.
Offset (8 bytes): A 64-bit unsigned integer. This field specifies the file offset where the read operation is performed.
Padding (20 bytes): An array of 20 bytes. Reserved. This field can be set to any value and MUST be ignored.