3.3.5.1.3.1.2 Construction of Switch Surface

The structure and fields of the Switch Surface Alternate Secondary Drawing Order are specified in section 2.2.2.2.1.3.3. The order fields MUST be populated in accordance with this description.

The Create Offscreen Bitmap Alternate Secondary Drawing Order (see section 3.3.5.1.3.1.1), which is used to create the offscreen bitmap referenced in this order, MUST be sent to the client before this order is dispatched.

The Switch Surface Order MUST NOT be sent to the client if support for offscreen bitmap caching was not specified using the Offscreen Bitmap Cache Capability Set (see [MS-RDPBCGR] section 2.2.7.1.9), or if offscreen bitmap caching has been disabled due to the reception of an Offscreen Bitmap Cache Error PDU (see section 3.3.5.2.2). Furthermore, if client-side support for the MemBlt (see section 3.3.5.1.1.1.9) or Mem3Blt (see section 3.3.5.1.1.1.10) Primary Drawing Order does not exist (specified using the Order Capability Set specified in [MS-RDPBCGR] section 2.2.7.1.3), the Switch Surface Order SHOULD NOT be sent to the client.