lFlags

Flags that determine whether the main bitmap or the overlay bitmap should be updated. Possible values are:

Value

Meaning

SETOVERLAYBITS_FROMOVERLAY

[0x0001] Update the main bitmap’s bits for the corresponding bitplane using the data from the overlay bitmap.

SETOVERLAYBITS_FROMBITMAP

[0x0002] Update the overlay bitmap with the bits from the corresponding bit plane of the main bitmap. Can be or-ed with SETOVERLAYBITS_CLEAR.

SETOVERLAYBITS_CLEAR

[0x0004] Clear the bits from the bitplane associated with the overlay that are not contained in the overlay bitmap (use only in combination with SETOVERLAYBITS_FROMOVERLAY)