2.2.8.1 MILCMD_DRAW_BITMAP
The MILCMD_DRAW_BITMAP packet instructs the compositor to draw a bitmap with the provided resource of type TYPE_BITMAPSOURCE. If no bitmap is provided, this call is a no-op.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
messageSize |
|||||||||||||||||||||||||||||||
controlCode |
|||||||||||||||||||||||||||||||
hBitmap |
|||||||||||||||||||||||||||||||
reserved |
messageSize (4 bytes): A 32-bit unsigned integer. The size of this message in bytes. The value of this field MUST be set to 0x00000010.
controlCode (4 bytes): A 32-bit unsigned integer containing the control code for this message. The value of this field MUST be equal to 0x00000068.
hBitmap (4 bytes): A 32-bit unsigned integer. The value of this field MUST either be set to zero or set to a valid resource handle referencing a resource of type TYPE_BITMAPSOURCE. The bitmap resource referenced by this handle will be rendered in the current drawing context.
reserved (4 bytes): Reserved. MUST be set to zero when sent, and MUST be ignored when received.