2.2.7.43 MILCMD_WINDOWNODE_SETSOURCEMODIFICATIONS

The MILCMD_WINDOWNODE_SETSOURCEMODIFICATIONS packet specifies how the content of a window node MUST be blended with the background.


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

sourceModifications

LowColorKey

HighColorKey

messageSize (4 bytes): A 32-bit unsigned integer. The size of this message in bytes. The value of this field MUST be set to 0x00000018.

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

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_WINDOWNODE. This handle identifies the resource that is the target for this message.

sourceModifications (4 bytes): A MilSourceModification enumeration. The source modification flags.

LowColorKey (4 bytes): An unsigned 32-bit integer. The low end of the color range, which will be drawn as transparent. This field is meaningful only if the sourceModifications field is set to ColorKey (0x00000002), in which case any pixels whose red, green, blue, and alpha values are greater than or equal to the value of the LowColorKey field and less than or equal to the value of the HighColorKey field MUST be drawn as if they were fully transparent pixels, instead. This is in B8R8G8A8 format.

HighColorKey (4 bytes): An unsigned 32-bit integer. The high end of the color range, which will be drawn as transparent. This field is meaningful only if the sourceModifications field is set to ColorKey (0x00000002), in which case any pixels whose red, green, blue, and alpha values are greater than or equal to the value of the LowColorKey field and less than or equal to the value of the HighColorKey field MUST be drawn as if they were fully transparent pixels, instead. This is in B8R8G8A8 format.