Edit

Share via


D1164: Invalid Map Option

D2D1_MAP_OPTIONS_NONE is not a valid parameter to Map

 

Possible Causes

Direct2D may output this message if an application calls ID2D1Bitmap1::Map with the D2D1_MAP_OPTIONS_NONE option.

Possible Fixes

While calling ID2D1Bitmap1::Map, use a valid map option. See D2D1_MAP_OPTIONS for a description of map options; consider whether the application needs to read or write access.