Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID2D1Factory::CreateWicBitmapRenderTarget methods

Creates a render target that renders to a Microsoft Windows Imaging Component (WIC) bitmap.

Overload list

MethodDescription
CreateWicBitmapRenderTarget(IWICBitmap*,D2D1_RENDER_TARGET_PROPERTIES*,ID2D1RenderTarget**)

Creates a render target that renders to a Microsoft Windows Imaging Component (WIC) bitmap.

CreateWicBitmapRenderTarget(IWICBitmap*,D2D1_RENDER_TARGET_PROPERTIES&,ID2D1RenderTarget**)

Creates a render target that renders to a Microsoft Windows Imaging Component (WIC) bitmap.

Remarks

Your application should create render targets once and hold onto them for the life of the application or until the D2DERR_RECREATE_TARGET error is received. When you receive this error, you need to recreate the render target (and any resources it created).

  • Applies to Windows Phone

Note   This method isn't supported on Windows Phone and will fail when called on a device with error code 0x8899000b (“There is no hardware rendering device available for this operation”). Because the Windows Phone Emulator supports WARP rendering, this method will fail when called on the emulator with a different error code, 0x88982f80 (wincodec_err_unsupportedpixelformat).

Requirements

Library

D2d1.lib

DLL

D2d1.dll

See also

ID2D1Factory

 

 

Community Additions

Show:
© 2015 Microsoft