D1184: CreateWicBitmapRenderTarget Incompatible With HW Target Type

It is invalid to pass the flag D2D1_RENDER_TARGET_TYPE_HARDWARE to CreateWicBitmapRenderTarget.

 

Possible Causes

When an application called ID2D1Factory::CreateWicBitmapRenderTarget, the type field of the D2D1_RENDER_TARGET_PROPERTIES argument was D2D1_D2D1_RENDER_TARGET_TYPE_HARDWARE.

Possible Fixes

Verify that the target type used while creating a WIC-interopped render target is SOFTWARE or DEFAULT. Direct2D typically reserves HARDWARE semantics to describe Direct3D interopability.