lFlags

Flags that determine how to retrieve the bitmap. You cannot combine these flags. Possible values are:

Value

Meaning

OVERLAY_COPY

[0] A copy of the overlay bitmap is retrieved from the overlay list.

OVERLAY_NOCOPY

[1] The actual overlay bitmap is retrieved. No copy is made. You should be careful when modifying the overlay bitmap because you can modify/invalidate the entry in the overlay bitmap list.

OVERLAY_MOVE

[3] The actual overlay bitmap is retrieved. The bitmap is also removed from the overlay list. This is recommended over OVERLAY_NOCOPY.