IShellLinkW_GetDescription

シェルリンクオブジェクトの説明文字列を取得する。(Unicode)

IShellLinkW_GetDescription this, pszName, cch

this : [comobj] IShellLinkW インターフェースの COM オブジェクト変数
pszName : [wstr] 型: LPTSTR 説明文字列を受け取るバッファへのポインター。
cch : [int] 型: int pszName パラメーターが指すバッファにコピーする最大文字数。

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

解説

シェルリンクオブジェクトの説明文字列を取得する。(Unicode)

[戻り値]
型: HRESULT このメソッドが成功した場合 S_OK を返す。そうでなければ HRESULT エラーコードを返す。

[備考]
Windows 2000 以降では pszName に返される文字列の最大長は INFOTIPSIZE である。Windows 2000
より前のシステムでは、文字列のサイズは MAX_PATH により制限される。

情報

プラグイン / モジュール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