2.2.2.3 RDPGFX_DELETE_ENCODING_CONTEXT_PDU

The RDPGFX_DELETE_ENCODING_CONTEXT_PDU message is sent by the server to instruct the client to delete a compression context that was used by a collection of RDPGFX_WIRE_TO_SURFACE_PDU_2 (section 2.2.2.2) messages to progressively transfer bitmap data.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

header

...

surfaceId

codecContextId

...

header (8 bytes):  An RDPGFX_HEADER (section 2.2.1.5) structure. The cmdId field MUST be set to RDPGFX_CMDID_DELETEENCODINGCONTEXT (0x0003), while the flags field MUST be set to zero.

surfaceId (2 bytes):  A 16-bit unsigned integer that specifies the ID of the surface associated with the compression context ID specified in the codecContextId field.

codecContextId (4 bytes):  A 32-bit unsigned integer that specifies the ID of the compression context to delete.