IShellUIHelper6
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 14
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
vtbl 74 HRESULT msStopPeriodicTileUpdate()
vtbl 75 HRESULT msStartPeriodicTileUpdate(VARIANT pollingUris, VARIANT startTime, VARIANT uiUpdateRecurrence)
| pollingUris | VARIANT | in | タイル更新内容を取得するためにポーリングする URI 群を保持する VARIANT を指定する。 |
| startTime | VARIANT | in | ポーリングを開始する時刻を保持する VARIANT を指定する。 |
| uiUpdateRecurrence | VARIANT | in | 更新の繰り返し間隔を保持する VARIANT を指定する。 |
vtbl 76 HRESULT msStartPeriodicTileUpdateBatch(VARIANT pollingUris, VARIANT startTime, VARIANT uiUpdateRecurrence)
| pollingUris | VARIANT | in | 一括でタイル更新内容を取得するためにポーリングする URI 群を保持する VARIANT を指定する。 |
| startTime | VARIANT | in | ポーリングを開始する時刻を保持する VARIANT を指定する。 |
| uiUpdateRecurrence | VARIANT | in | 更新の繰り返し間隔を保持する VARIANT を指定する。 |
vtbl 77 HRESULT msClearTile()
vtbl 78 HRESULT msEnableTileNotificationQueue(VARIANT_BOOL fChange)
| fChange | VARIANT_BOOL | in | タイル通知のキューイングを有効にするかどうかを示す VARIANT_BOOL を指定する。 |
| pvarSiteState | VARIANT* | out | ピン留めサイトの現在の状態を受け取る VARIANT へのポインタである。 |
vtbl 80 HRESULT msEnableTileNotificationQueueForSquare150x150(VARIANT_BOOL fChange)
| fChange | VARIANT_BOOL | in | 150x150 正方形タイルの通知キューイングを有効にするかどうかを示す VARIANT_BOOL を指定する。 |
vtbl 81 HRESULT msEnableTileNotificationQueueForWide310x150(VARIANT_BOOL fChange)
| fChange | VARIANT_BOOL | in | 310x150 ワイドタイルの通知キューイングを有効にするかどうかを示す VARIANT_BOOL を指定する。 |
vtbl 82 HRESULT msEnableTileNotificationQueueForSquare310x310(VARIANT_BOOL fChange)
| fChange | VARIANT_BOOL | in | 310x310 正方形タイルの通知キューイングを有効にするかどうかを示す VARIANT_BOOL を指定する。 |
vtbl 83 HRESULT msScheduledTileNotification(LPWSTR bstrNotificationXml, LPWSTR bstrNotificationId, LPWSTR bstrNotificationTag, VARIANT startTime, VARIANT expirationTime)
| bstrNotificationXml | LPWSTR | in | スケジュールするタイル通知の内容を記述した XML を指定する。 |
| bstrNotificationId | LPWSTR | in | 通知を識別するための識別子を指定する。 |
| bstrNotificationTag | LPWSTR | in | 通知の置換やグループ化に用いるタグを指定する。 |
| startTime | VARIANT | in | 通知を表示する時刻を保持する VARIANT を指定する。 |
| expirationTime | VARIANT | in | 通知が失効する時刻を保持する VARIANT を指定する。 |
| bstrNotificationId | LPWSTR | in | 削除するスケジュール済みタイル通知の識別子を指定する。 |
vtbl 85 HRESULT msStartPeriodicBadgeUpdate(LPWSTR pollingUri, VARIANT startTime, VARIANT uiUpdateRecurrence)
| pollingUri | LPWSTR | in | バッジ更新内容を取得するためにポーリングする URI を指定する。 |
| startTime | VARIANT | in | ポーリングを開始する時刻を保持する VARIANT を指定する。 |
| uiUpdateRecurrence | VARIANT | in | 更新の繰り返し間隔を保持する VARIANT を指定する。 |
vtbl 86 HRESULT msStopPeriodicBadgeUpdate()
vtbl 87 HRESULT msLaunchInternetOptions()
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IShellUIHelper6 "{987A573E-46EE-4E89-96AB-DDF7F8FDC98C}" #usecom global IShellUIHelper6 IID_IShellUIHelper6 "{64AB4BB7-111E-11D1-8F79-00C04FC2FBE1}" #comfunc global IShellUIHelper6_msStopPeriodicTileUpdate 74 #comfunc global IShellUIHelper6_msStartPeriodicTileUpdate 75 int,int,int #comfunc global IShellUIHelper6_msStartPeriodicTileUpdateBatch 76 int,int,int #comfunc global IShellUIHelper6_msClearTile 77 #comfunc global IShellUIHelper6_msEnableTileNotificationQueue 78 int #comfunc global IShellUIHelper6_msPinnedSiteState 79 var #comfunc global IShellUIHelper6_msEnableTileNotificationQueueForSquare150x150 80 int #comfunc global IShellUIHelper6_msEnableTileNotificationQueueForWide310x150 81 int #comfunc global IShellUIHelper6_msEnableTileNotificationQueueForSquare310x310 82 int #comfunc global IShellUIHelper6_msScheduledTileNotification 83 wstr,wstr,wstr,int,int #comfunc global IShellUIHelper6_msRemoveScheduledTileNotification 84 wstr #comfunc global IShellUIHelper6_msStartPeriodicBadgeUpdate 85 wstr,int,int #comfunc global IShellUIHelper6_msStopPeriodicBadgeUpdate 86 #comfunc global IShellUIHelper6_msLaunchInternetOptions 87 ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IShellUIHelper6 "{987A573E-46EE-4E89-96AB-DDF7F8FDC98C}" #usecom global IShellUIHelper6 IID_IShellUIHelper6 "{64AB4BB7-111E-11D1-8F79-00C04FC2FBE1}" #comfunc global IShellUIHelper6_msStopPeriodicTileUpdate 74 #comfunc global IShellUIHelper6_msStartPeriodicTileUpdate 75 int,int,int #comfunc global IShellUIHelper6_msStartPeriodicTileUpdateBatch 76 int,int,int #comfunc global IShellUIHelper6_msClearTile 77 #comfunc global IShellUIHelper6_msEnableTileNotificationQueue 78 int #comfunc global IShellUIHelper6_msPinnedSiteState 79 sptr #comfunc global IShellUIHelper6_msEnableTileNotificationQueueForSquare150x150 80 int #comfunc global IShellUIHelper6_msEnableTileNotificationQueueForWide310x150 81 int #comfunc global IShellUIHelper6_msEnableTileNotificationQueueForSquare310x310 82 int #comfunc global IShellUIHelper6_msScheduledTileNotification 83 wstr,wstr,wstr,int,int #comfunc global IShellUIHelper6_msRemoveScheduledTileNotification 84 wstr #comfunc global IShellUIHelper6_msStartPeriodicBadgeUpdate 85 wstr,int,int #comfunc global IShellUIHelper6_msStopPeriodicBadgeUpdate 86 #comfunc global IShellUIHelper6_msLaunchInternetOptions 87 ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。