ホーム › System.Contacts › IContactAggregationServerPersonCollection
IContactAggregationServerPersonCollection
COMメソッド 6
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT FindFirst(IContactAggregationServerPerson** ppServerPerson)
| ppServerPerson | IContactAggregationServerPerson** | out | コレクション内の最初のサーバー人物を表す IContactAggregationServerPerson インターフェイスを受け取るポインタへのポインタである。 |
vtbl 4 HRESULT FindFirstByServerId(LPWSTR pServerId, IContactAggregationServerPerson** ppServerPerson)
| pServerId | LPWSTR | in | 検索キーとなるサーバー ID を指定する文字列である。 |
| ppServerPerson | IContactAggregationServerPerson** | out | 条件に一致した最初のサーバー人物を表す IContactAggregationServerPerson インターフェイスを受け取るポインタへのポインタである。 |
vtbl 5 HRESULT FindFirstByAggregateId(LPWSTR pAggregateId, IContactAggregationServerPerson** ppServerPerson)
| pAggregateId | LPWSTR | in | 検索キーとなる集約 ID を指定する文字列である。 |
| ppServerPerson | IContactAggregationServerPerson** | out | 条件に一致した最初のサーバー人物を表す IContactAggregationServerPerson インターフェイスを受け取るポインタへのポインタである。 |
vtbl 6 HRESULT FindFirstByLinkedAggregateId(LPWSTR pAggregateId, IContactAggregationServerPerson** ppServerPerson)
| pAggregateId | LPWSTR | in | 検索キーとなるリンク先集約 ID を指定する文字列である。 |
| ppServerPerson | IContactAggregationServerPerson** | out | 条件に一致した最初のサーバー人物を表す IContactAggregationServerPerson インターフェイスを受け取るポインタへのポインタである。 |
vtbl 7 HRESULT FindNext(IContactAggregationServerPerson** ppServerPerson)
| ppServerPerson | IContactAggregationServerPerson** | out | コレクション内の次のサーバー人物を表す IContactAggregationServerPerson インターフェイスを受け取るポインタへのポインタである。 |
| pCount | DWORD* | out | コレクションに含まれるサーバー人物の数を受け取る変数へのポインタである。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IContactAggregationServerPersonCollection "{4F730A4A-6604-47B6-A987-669ECF1E5751}" #usecom global IContactAggregationServerPersonCollection IID_IContactAggregationServerPersonCollection "{}" #comfunc global IContactAggregationServerPersonCollection_FindFirst 3 sptr #comfunc global IContactAggregationServerPersonCollection_FindFirstByServerId 4 wstr,sptr #comfunc global IContactAggregationServerPersonCollection_FindFirstByAggregateId 5 wstr,sptr #comfunc global IContactAggregationServerPersonCollection_FindFirstByLinkedAggregateId 6 wstr,sptr #comfunc global IContactAggregationServerPersonCollection_FindNext 7 sptr #comfunc global IContactAggregationServerPersonCollection_get_Count 8 var ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IContactAggregationServerPersonCollection "{4F730A4A-6604-47B6-A987-669ECF1E5751}" #usecom global IContactAggregationServerPersonCollection IID_IContactAggregationServerPersonCollection "{}" #comfunc global IContactAggregationServerPersonCollection_FindFirst 3 sptr #comfunc global IContactAggregationServerPersonCollection_FindFirstByServerId 4 wstr,sptr #comfunc global IContactAggregationServerPersonCollection_FindFirstByAggregateId 5 wstr,sptr #comfunc global IContactAggregationServerPersonCollection_FindFirstByLinkedAggregateId 6 wstr,sptr #comfunc global IContactAggregationServerPersonCollection_FindNext 7 sptr #comfunc global IContactAggregationServerPersonCollection_get_Count 8 sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。