ホーム › System.RealTimeCommunications › IRTCEnumParticipants
IRTCEnumParticipants
COMメソッド 4
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT Next(DWORD celt, IRTCParticipant** ppElements, DWORD* pceltFetched)
| celt | DWORD | in | 取得を試みる要素数を指定する。 |
| ppElements | IRTCParticipant** | out | 取得した IRTCParticipant 要素を受け取る配列ポインタである。 |
| pceltFetched | DWORD* | inoutoptional | 実際に取得された要素数を受け取る DWORD ポインタである。1 要素のみ要求する場合は NULL を指定できる。 |
vtbl 4 HRESULT Reset()
| celt | DWORD | in | スキップする要素数を指定する。 |
vtbl 6 HRESULT Clone(IRTCEnumParticipants** ppEnum)
| ppEnum | IRTCEnumParticipants** | out | 現在の列挙状態を複製した IRTCEnumParticipants インターフェイスを受け取るポインタである。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IRTCEnumParticipants "{FCD56F29-4A4F-41B2-BA5C-F5BCCC060BF6}" #usecom global IRTCEnumParticipants IID_IRTCEnumParticipants "{}" #comfunc global IRTCEnumParticipants_Next 3 int,sptr,var #comfunc global IRTCEnumParticipants_Reset 4 #comfunc global IRTCEnumParticipants_Skip 5 int #comfunc global IRTCEnumParticipants_Clone 6 sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IRTCEnumParticipants "{FCD56F29-4A4F-41B2-BA5C-F5BCCC060BF6}" #usecom global IRTCEnumParticipants IID_IRTCEnumParticipants "{}" #comfunc global IRTCEnumParticipants_Next 3 int,sptr,sptr #comfunc global IRTCEnumParticipants_Reset 4 #comfunc global IRTCEnumParticipants_Skip 5 int #comfunc global IRTCEnumParticipants_Clone 6 sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。