3.2.5.1.8 Sending a Close Response Message

This message is sent in response to the server close request (3.2.5.1.3).

The client MUST fill out the various members of DR_CLOSE_RSP (as specified in [MS-RDPEFS] section 2.2.1.5.2) as follows:

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:

  • The DeviceId field MUST be set to match the corresponding DeviceId field from the IO request.

  • The CompletionId field MUST be set to match the CompletionId field from the corresponding IO request (section 3.2.5.1.3).

  • The IoStatus field MUST be set to the NTSTATUS value indicating the result of the operation.