Windows Graphics Device Interface (GDI) セクションハンドルのピクセル領域を背後に持つ IWICBitmapSource を返す。(WICCreateBitmapFromSectionEx)
WICCreateBitmapFromSectionEx width, height, pixelFormat, hSection, stride, offset, desiredAccessLevel, ppIBitmap
width : [int] 型: UINT ビットマップピクセルの幅。 height : [int] 型: UINT ビットマップピクセルの高さ。 pixelFormat : [var] 型: REFWICPixelFormatGUID ビットマップのピクセル形式。 hSection : [intptr] 型: HANDLE セクションハンドル。CreateFileMapping 関数が返すファイルマッピングオブジェクトのハンドルである。 stride : [int] 型: UINT 各走査線のバイト数。 offset : [int] 型: UINT セクション内のオフセット。 desiredAccessLevel : [int] 型: WICSectionAccessLevel 希望するアクセスレベル。 ppIBitmap : [var] 型: IWICBitmap** ビットマップを受け取るポインタ。
(プラグイン / モジュール : windowscodecs.dll)
Windows Graphics Device Interface (GDI) セクションハンドルのピクセル領域を背後に持つ IWICBitmapSource を返す。(WICCreateBitmapFromSectionEx) [戻り値] 型: HRESULT 関数が成功すると S_OK を返す。失敗時は HRESULT エラーコードを返す。
| プラグイン / モジュール | windowscodecs.dll |
| バージョン | 1.0 |
| 作成日 | 2026/04/16 |
| 著作者 | IronHSP / CsWin32 bridge |
| URL | https://github.com/inovia/IronHSP |
| 備考 | Win32 API の windowscodecs.dll 関数群。CsWin32 + win32metadata から自動生成。
hsp3net 専用 (intptr / NSTRUCT / wstr を使用)。 |
| タイプ | 拡張命令 |
| グループ | Win32API |
| 対応環境 |
|
| hs ファイル | hsphelp\win32_windowscodecs_gen2.hs |