ホーム › System.Contacts › IContactAggregationGroup
IContactAggregationGroup
COMメソッド 10
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT Delete()
vtbl 4 HRESULT Save()
| pAggregateId | LPWSTR | in | グループに追加する集約の ID を指定する文字列である。 |
| pAggregateId | LPWSTR | in | グループから削除する集約の ID を指定する文字列である。 |
vtbl 7 HRESULT get_Members(IContactAggregationAggregateCollection** ppAggregateContactCollection)
| ppAggregateContactCollection | IContactAggregationAggregateCollection** | out | グループのメンバーである集約のコレクションを表す IContactAggregationAggregateCollection インターフェイスを受け取るポインタへのポインタである。 |
vtbl 8 HRESULT get_GlobalObjectId(GUID* pGlobalObjectId)
| pGlobalObjectId | GUID* | out | グループのグローバルオブジェクト ID を表す GUID を受け取る構造体へのポインタである。 |
vtbl 9 HRESULT put_GlobalObjectId(GUID* pGlobalObjectId)
| pGlobalObjectId | GUID* | in | グループに設定するグローバルオブジェクト ID を表す GUID へのポインタである。 |
| ppItemId | LPWSTR* | out | グループの項目 ID を受け取る文字列ポインタへのポインタである。 |
| ppName | LPWSTR* | out | グループの名前を受け取る文字列ポインタへのポインタである。 |
| pName | LPWSTR | in | グループに設定する名前を指定する文字列である。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IContactAggregationGroup "{C93C545F-1284-499B-96AF-07372AF473E0}" #usecom global IContactAggregationGroup IID_IContactAggregationGroup "{}" #comfunc global IContactAggregationGroup_Delete 3 #comfunc global IContactAggregationGroup_Save 4 #comfunc global IContactAggregationGroup_Add 5 wstr #comfunc global IContactAggregationGroup_Remove 6 wstr #comfunc global IContactAggregationGroup_get_Members 7 sptr #comfunc global IContactAggregationGroup_get_GlobalObjectId 8 var #comfunc global IContactAggregationGroup_put_GlobalObjectId 9 var #comfunc global IContactAggregationGroup_get_Id 10 var #comfunc global IContactAggregationGroup_get_Name 11 var #comfunc global IContactAggregationGroup_put_Name 12 wstr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IContactAggregationGroup "{C93C545F-1284-499B-96AF-07372AF473E0}" #usecom global IContactAggregationGroup IID_IContactAggregationGroup "{}" #comfunc global IContactAggregationGroup_Delete 3 #comfunc global IContactAggregationGroup_Save 4 #comfunc global IContactAggregationGroup_Add 5 wstr #comfunc global IContactAggregationGroup_Remove 6 wstr #comfunc global IContactAggregationGroup_get_Members 7 sptr #comfunc global IContactAggregationGroup_get_GlobalObjectId 8 sptr #comfunc global IContactAggregationGroup_put_GlobalObjectId 9 sptr #comfunc global IContactAggregationGroup_get_Id 10 sptr #comfunc global IContactAggregationGroup_get_Name 11 sptr #comfunc global IContactAggregationGroup_put_Name 12 wstr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。