Partager via


2.2.1.5 RDPGFX_HEADER

The RDPGFX_HEADER structure is included in all graphics command PDUs and specifies the graphics command type, the transport flags, and the length of the PDU.


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

cmdId

flags

pduLength

cmdId (2 bytes): A 16-bit unsigned integer that identifies the type of the graphics command PDU.

Value

Meaning

RDPGFX_CMDID_WIRETOSURFACE_1

0x0001

RDPGFX_WIRE_TO_SURFACE_PDU_1 (section 2.2.2.1)

RDPGFX_CMDID_WIRETOSURFACE_2

0x0002

RDPGFX_WIRE_TO_SURFACE_PDU_2 (section 2.2.2.2)

RDPGFX_CMDID_DELETEENCODINGCONTEXT

0x0003

RDPGFX_DELETE_ENCODING_CONTEXT_PDU (section 2.2.2.3)

RDPGFX_CMDID_SOLIDFILL

0x0004

RDPGFX_SOLIDFILL_PDU (section 2.2.2.4)

RDPGFX_CMDID_SURFACETOSURFACE

0x0005

RDPGFX_SURFACE_TO_SURFACE_PDU (section 2.2.2.5)

RDPGFX_CMDID_SURFACETOCACHE

0x0006

RDPGFX_SURFACE_TO_CACHE_PDU (section 2.2.2.6)

RDPGFX_CMDID_CACHETOSURFACE

0x0007

RDPGFX_CACHE_TO_SURFACE_PDU (section 2.2.2.7)

RDPGFX_CMDID_EVICTCACHEENTRY

0x0008

RDPGFX_EVICT_CACHE_ENTRY_PDU (section 2.2.2.8)

RDPGFX_CMDID_CREATESURFACE

0x0009

RDPGFX_CREATE_SURFACE_PDU (section 2.2.2.9)

RDPGFX_CMDID_DELETESURFACE

0x000A

RDPGFX_DELETE_SURFACE_PDU (section 2.2.2.10)

RDPGFX_CMDID_STARTFRAME

0x000B

RDPGFX_START_FRAME_PDU (section 2.2.2.11)

RDPGFX_CMDID_ENDFRAME

0x000C

RDPGFX_END_FRAME_PDU (section 2.2.2.12)

RDPGFX_CMDID_FRAMEACKNOWLEDGE

0x000D

RDPGFX_FRAME_ACKNOWLEDGE_PDU (section 2.2.2.13)

RDPGFX_CMDID_RESETGRAPHICS

0x000E

RDPGFX_RESET_GRAPHICS_PDU (section 2.2.2.14)

RDPGFX_CMDID_MAPSURFACETOOUTPUT

0x000F

RDPGFX_MAP_SURFACE_TO_OUTPUT_PDU (section 2.2.2.15)

RDPGFX_CMDID_CACHEIMPORTOFFER

0x0010

RDPGFX_CACHE_IMPORT_OFFER_PDU (section 2.2.2.16)

RDPGFX_CMDID_CACHEIMPORTREPLY

0x0011

RDPGFX_CACHE_IMPORT_REPLY_PDU (section 2.2.2.17)

RDPGFX_CMDID_CAPSADVERTISE

0x0012

RDPGFX_CAPS_ADVERTISE_PDU (section 2.2.2.18)

RDPGFX_CMDID_CAPSCONFIRM

0x0013

RDPGFX_CAPS_CONFIRM_PDU (section 2.2.2.19)

RDPGFX_CMDID_MAPSURFACETOWINDOW

0x0015

RDPGFX_MAP_SURFACE_TO_WINDOW_PDU (section 2.2.2.20)

RDPGFX_CMDID_QOEFRAMEACKNOWLEDGE

0x0016

RDPGFX_QOE_FRAME_ACKNOWLEDGE_PDU (section 2.2.2.21)

RDPGFX_CMDID_MAPSURFACETOSCALEDOUTPUT

0x0017

RDPGFX_MAP_SURFACE_TO_SCALED_OUTPUT_PDU (section 2.2.2.22)

RDPGFX_CMDID_MAPSURFACETOSCALEDWINDOW

0x0018

RDPGFX_MAP_SURFACE_TO_SCALED_WINDOW_PDU (section 2.2.2.23)

flags (2 bytes): A 16-bit unsigned integer that contains graphics command flags common to all PDUs. No common graphics command flags are specified; therefore, this field MUST be set to zero.

pduLength (4 bytes): A 32-bit unsigned integer that specifies the length of the graphics command PDU, in bytes. This value MUST include the length of the RDPGFX_HEADER (8 bytes).