ID2D1Factory_CreateWicBitmapRenderTarget

Microsoft Windows Imaging Component (WIC) ビットマップに描画するレンダーターゲットを作成する。

ID2D1Factory_CreateWicBitmapRenderTarget this, target, renderTargetProperties, renderTarget

this : [comobj] ID2D1Factory インターフェースの COM オブジェクト変数
target : [comobj] 
renderTargetProperties : [var] 
renderTarget : [comobj] 

(プラグイン / モジュール : com_misc.dll)

解説

Microsoft Windows Imaging Component (WIC) ビットマップに描画するレンダーターゲットを作成する。

[備考]
アプリケーションはレンダーターゲットを一度だけ作成し、アプリケーションの寿命の間、または
[**D2DERR\_RECREATE\_TARGET**](direct2d-error-codes.md)
エラーを受け取るまで保持すべきである。このエラーを受け取った場合は、レンダーターゲット(およびそれが作成したリソース)を作成し直す必要がある。**注意**
このメソッドは Windows Phone ではサポートされておらず、デバイス上で呼び出すとエラーコード
0x8899000b(この操作に利用可能なハードウェアレンダリングデバイスがありません)で失敗する。Windows Phone
Emulator は WARP レンダリングをサポートするため、エミュレーター上で呼び出すと別のエラーコード 0x88982f80
(wincodec\_err\_unsupportedpixelformat) で失敗する。

情報

プラグイン / モジュールcom_misc.dll
バージョン1.0
作成日2026/04/16
著作者IronHSP / CsWin32 bridge
URLhttps://github.com/inovia/IronHSP
備考Win32 API の com_misc.dll 関数群。CsWin32 + win32metadata から自動生成。
hsp3net 専用 (intptr / NSTRUCT / wstr を使用)。
タイプ拡張命令
グループWin32API
対応環境
  • Windows 版 HSP
hs ファイルhsphelp\win32_com_misc_gen2.hs