ホーム › System.SideShow › ISideShowContentManager
ISideShowContentManager
COMメソッド 5
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT Add(ISideShowContent* in_pIContent)
| in_pIContent | ISideShowContent* | inoptional | 追加するコンテンツを表す ISideShowContent インターフェイスへのポインタである。 |
| in_contentId | DWORD | in | 削除するコンテンツの識別子を指定する。 |
vtbl 5 HRESULT RemoveAll()
vtbl 6 HRESULT SetEventSink(ISideShowEvents* in_pIEvents)
| in_pIEvents | ISideShowEvents* | inoptional | デバイスからのイベントを受け取る ISideShowEvents インターフェイスへのポインタである。 |
vtbl 7 HRESULT GetDeviceCapabilities(ISideShowCapabilitiesCollection** out_ppCollection)
| out_ppCollection | ISideShowCapabilitiesCollection** | out | 接続デバイスの機能を表す ISideShowCapabilitiesCollection インターフェイスを受け取るポインタである。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
#define global IID_ISideShowContentManager "{A5D5B66B-EEF9-41DB-8D7E-E17C33AB10B0}"
#usecom global ISideShowContentManager IID_ISideShowContentManager "{}"
#comfunc global ISideShowContentManager_Add 3 sptr
#comfunc global ISideShowContentManager_Remove 4 int
#comfunc global ISideShowContentManager_RemoveAll 5
#comfunc global ISideShowContentManager_SetEventSink 6 sptr
#comfunc global ISideShowContentManager_GetDeviceCapabilities 7 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。