3.2.5.1.11 Sending a Printer Close Response Message
The client MUST fill out the various members of the DR_DEVICE_IOCOMPLETION message (as specified in [MS-RDPEFS] section 2.2.1.5) as shown here.
For the RDPDR_HEADER:
The Component field MUST be set to RDPDR_CTYP_CORE.
The PacketId field MUST be set to PAKID_CORE_DEVICE_IOCOMPLETION.
For the DR_DEVICE_IOCOMPLETION header:
The CompletionId field MUST be set to match the CompletionId field from the corresponding I/O request (section 3.2.5.1.8).
The DeviceId MUST be set to match the corresponding DeviceId from the I/O request.
The IoStatus field MUST be set to the NTSTATUS value indicating the result of the operation. NTSTATUS codes are specified in [MS-ERREF] section 2.3.