Shell_GetCachedImageIndex は変更されるか利用できなくなる可能性がある。
Shell_GetCachedImageIndex pwszIconPath, iIconIndex, uIconFlags
pwszIconPath : [wstr] 型: PCWSTR イメージファイルへのパスを格納するバッファーへのポインター。 iIconIndex : [int] 型: int pwszIconPath で指定されたファイル内のイメージのインデックス。 uIconFlags : [int] 型: UINT 使用しない。
(プラグイン / モジュール : shell32.dll)
Shell_GetCachedImageIndex は変更されるか利用できなくなる可能性がある。 [戻り値] 型: int イメージのインデックスを返す。失敗した場合は ?1 を返す。 [備考] この関数の Shell_GetCachedImageIndexA 版および Shell_GetCachedImageIndexW 版は Windows Vista で追加された。Unicode 文字列の場合は Shell_GetCachedImageIndexW または Shell_GetCachedImageIndex のいずれかを呼び出す。ANSI 文字列の場合は Shell_GetCachedImageIndexA を明示的に呼び出さなければならない。Windows Server 2003 および Windows XP: Shell_GetCachedImageIndex のみがサポートされる。Shell_GetCachedImageIndex は Unicode 文字列を必要とする。
| プラグイン / モジュール | shell32.dll |
| バージョン | 1.0 |
| 作成日 | 2026/04/16 |
| 著作者 | IronHSP / CsWin32 bridge |
| URL | https://github.com/inovia/IronHSP |
| 備考 | Win32 API の shell32.dll 関数群。CsWin32 + win32metadata から自動生成。
hsp3net 専用 (intptr / NSTRUCT / wstr を使用)。 |
| タイプ | 拡張命令 |
| グループ | Win32API |
| 対応環境 |
|
| hs ファイル | hsphelp\win32_shell32_gen2.hs |