D1190: CannotDraw Bitmap Flag Was Used Incorrectly

D2D1_BITMAP_OPTIONS_CANNOT_DRAW must be combined with D2D1_BITMAP_OPTIONS_CPU_READ or D2D1_BITMAP_OPTIONS_TARGET

 

Possible Causes

The application specified an incompatible combination of the D2D1_BITMAP_OPTIONS flags.

Possible Fixes

Add D2D1_BITMAP_OPTIONS_CPU_READ or D2D1_BITMAP_OPTIONS_TARGET to the D2D1_BITMAP_OPTIONS