3.3.5.1.1.1.21 Construction of DrawNineGrid
The structure and fields of the DrawNineGrid Primary Drawing Order are specified in section 2.2.2.2.1.1.2.21. The order fields MUST be populated in accordance with this description and the instructions detailed in section 3.3.5.1.1.1.
Support for the NineGrid Bitmap Cache (see section 3.1.1.1.6) MUST have been specified using the DrawNineGrid Cache Capability Set (section 2.2.1.2) because the order refers to the ID of a NineGrid-compatible bitmap in this cache. Furthermore, this bitmap MUST have been created and initialized before this order is dispatched by using the Create NineGrid Bitmap (see section 3.3.5.1.3.1.3) and Stream Bitmap (see section 3.3.5.1.3.1.4) Alternate Secondary Orders.
The DrawNineGrid Order MUST NOT be sent to the client if support for it was not specified in the Order Capability Set (see [MS-RDPBCGR] section 2.2.7.1.3).