The presentation driver must assign an lcid before the bit map can be used for area shading or as the pattern in a BitBlt operation. The bit map can be of any format supported by the device. However, it can be simplified by the graphics engine before use.
Errors are raised by the graphics engine when:
Note: When a bit map is destroyed, its lcid becomes undefined.