2.2.9.2.2 RopReadStream ROP Response Buffer

The following descriptions define valid fields for the RopReadStream ROP response buffer.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

RopId

InputHandleIndex

ReturnValue

...

DataSize

Data (variable)

...

RopId (1 byte):  An unsigned integer that specifies the type of ROP. For this operation this field is set to 0x2C.

InputHandleIndex (1 byte):  An unsigned integer index that MUST be set to the value specified in the InputHandleIndex field in the request.

ReturnValue (4 bytes):  An unsigned integer that specifies the status of the ROP.

DataSize (2 bytes):  An unsigned integer that specifies the size, in bytes, of the Data field. The maximum size is specified in the request buffer by one of the following:

  • The ByteCount field, when the value of the ByteCount field is not equal to 0xBABE.

  • The MaximumByteCount field, when the value of the ByteCount field is equal to 0xBABE.

Data (variable):  An array of bytes that are the bytes read from the stream. The size of this field, in bytes, is specified by the DataSize field.