IShellLinkDual
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 16
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 7 | HRESULT get_Path(LPWSTR* pbs) |
| 8 | HRESULT put_Path(LPWSTR bs) |
| 9 | HRESULT get_Description(LPWSTR* pbs) |
| 10 | HRESULT put_Description(LPWSTR bs) |
| 11 | HRESULT get_WorkingDirectory(LPWSTR* pbs) |
| 12 | HRESULT put_WorkingDirectory(LPWSTR bs) |
| 13 | HRESULT get_Arguments(LPWSTR* pbs) |
| 14 | HRESULT put_Arguments(LPWSTR bs) |
| 15 | HRESULT get_Hotkey(INT* piHK) |
| 16 | HRESULT put_Hotkey(INT iHK) |
| 17 | HRESULT get_ShowCommand(INT* piShowCommand) |
| 18 | HRESULT put_ShowCommand(INT iShowCommand) |
| 19 | HRESULT Resolve(INT fFlags) |
| 20 | HRESULT GetIconLocation(LPWSTR* pbs, INT* piIcon) |
| 21 | HRESULT SetIconLocation(LPWSTR bs, INT iIcon) |
| 22 | HRESULT Save(VARIANT vWhere) |