2.2.7.63 MILCMD_GLYPHCACHE_ADDBITMAPS

The MILCMD_GLYPHCACHE_ADDBITMAPS packet adds glyph run bitmaps to the glyph cache. The bitmap data immediately follows the header of this message.


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

messageSize

controlCode

targetResource

FontFaceHandle

GlyphCount

bitmapsToAdd (variable)

...

messageSize (4 bytes): A 32-bit unsigned integer. The total size of this message and its payload in bytes. The value of this field MUST be set to a number divisible by four and greater than or equal to 0x00000014.

controlCode (4 bytes): A 32-bit unsigned integer containing the control code for this message. The value of this field MUST be equal to 0x00000052.

targetResource (4 bytes): A 32-bit unsigned integer. The value of this field MUST be set to a valid resource handle referencing a resource of type TYPE_GLYPHCACHE. This handle identifies the resource that is the target for this message.

FontFaceHandle (4 bytes): A 32-bit unsigned integer. The number to identify the font set of bitmaps this bitmap belongs to.

GlyphCount (4 bytes): A 32-bit unsigned integer. The number of glyph bitmaps that follow the message.

bitmapsToAdd (variable): An array of MilGlyphBitmap structures. The set of bitmaps to add.