Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method is not allowed on a bitmap created with D2D1_BITMAP_OPTIONS_CPU_READ.
Possible Causes
This message may occur during a call to ID2D1Bitmap::CopyFromMemory. If the bitmap was created using D2D1_BITMAP_OPTIONS_CPU_READ, Direct2D will report an error and the debug layer will output this message.
Possible Fixes
If it is necessary for an application to call ID2D1Bitmap::CopyFromMemory, ensure that the bitmap is not created as CPU-readable. If it is not possible to change the surface attributes of the bitmap, consider whether there is an equivalent rendering operation for the desired result.