D1165: Read And Discard Map Options Are Incompatible
D2D1_MAP_OPTIONS_READ is not compatible with D2D1_MAP_OPTIONS_DISCARD
Direct2D may output this message if an application calls ID2D1Bitmap1::Map with both D2D1_MAP_OPTIONS_READ and D2D1_MAP_OPTIONS_DISCARD options.
The READ and DISCARD options do not agree with each other because allowing read access to undefined data has limited usefulness for an application. See D2D1_MAP_OPTIONS for a description of map options. When calling ID2D1Bitmap1::Map, consider which type of access the application needs.