3.2.5.1.6 Processing a Server Device Control Request Message

The DeviceId and FileId fields of DR_DEVICE_IOREQUEST (as specified in [MS-RDPEFS] section 2.2.1.4) identify the previously-opened instance of the port to operate on.

The OutputBufferLength, InputBufferLength, IoControlCode and InputBuffer fields of DR_CONTROL_REQ (as specified in [MS-RDPEFS] section 2.2.1.4.5) identify the parameters for the device control operation.

The client MUST perform the device control operation specified by the IoControlCode field on the instance of the port accordingly. After the operation is complete, the client MUST send a Device Control Response message (section 3.2.5.1.11) to notify the server about the result of the operation.<2>