2.2.9.2.1 RopReadStream ROP Request Buffer

The following descriptions define valid fields for the RopReadStream ROP request 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

LogonId

InputHandleIndex

ByteCount

...

MaximumByteCount (optional)

...

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

LogonId (1 byte):  An unsigned integer that specifies the logon associated with this operation.

InputHandleIndex (1 byte):  An unsigned integer index that specifies the location in the Server object handle table where the handle for the input Server object is stored. For more information about Server objects, see section 1.3.1.

ByteCount (2 bytes):  An unsigned integer that specifies the maximum number of bytes to read if the value is not equal to 0xBABE.

MaximumByteCount (4 bytes):  An unsigned integer that specifies the maximum number of bytes to read if the value of the ByteCount field is equal to 0xBABE.<9> The MaximumByteCount field is present when the ByteCount field is equal to 0xBABE and is not present otherwise. If the value of the MaximumByteCount field is greater than 0x80000000, then the RPC SHOULD fail with error code 0x000004B6.