ホーム › System.WindowsSync › IEnumChangeUnitExceptions
IEnumChangeUnitExceptions
COMメソッド 4
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT Next(DWORD cExceptions, IChangeUnitException** ppChangeUnitException, DWORD* pcFetched)
| cExceptions | DWORD | in | 取得を要求する変更単位例外の個数を指定する。 |
| ppChangeUnitException | IChangeUnitException** | out | 取得した変更単位例外を表す IChangeUnitException の配列を受け取るポインタである。 |
| pcFetched | DWORD* | inout | 実際に取得された変更単位例外の個数を受け取る DWORD へのポインタである。NULL を指定できる。 |
| cExceptions | DWORD | in | スキップする変更単位例外の個数を指定する。 |
vtbl 5 HRESULT Reset()
vtbl 6 HRESULT Clone(IEnumChangeUnitExceptions** ppEnum)
| ppEnum | IEnumChangeUnitExceptions** | out | 現在の列挙状態を複製した新しい IEnumChangeUnitExceptions を受け取るポインタである。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IEnumChangeUnitExceptions "{3074E802-9319-4420-BE21-1022E2E21DA8}" #usecom global IEnumChangeUnitExceptions IID_IEnumChangeUnitExceptions "{}" #comfunc global IEnumChangeUnitExceptions_Next 3 int,sptr,var #comfunc global IEnumChangeUnitExceptions_Skip 4 int #comfunc global IEnumChangeUnitExceptions_Reset 5 #comfunc global IEnumChangeUnitExceptions_Clone 6 sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IEnumChangeUnitExceptions "{3074E802-9319-4420-BE21-1022E2E21DA8}" #usecom global IEnumChangeUnitExceptions IID_IEnumChangeUnitExceptions "{}" #comfunc global IEnumChangeUnitExceptions_Next 3 int,sptr,sptr #comfunc global IEnumChangeUnitExceptions_Skip 4 int #comfunc global IEnumChangeUnitExceptions_Reset 5 #comfunc global IEnumChangeUnitExceptions_Clone 6 sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。