Win32 API 日本語リファレンス
ホームSystem.WindowsSync › IEnumChangeUnitExceptions

IEnumChangeUnitExceptions

COM
IID3074e802-9319-4420-be21-1022e2e21da8継承元IUnknown自前メソッド開始 vtbl3

メソッド 4

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtbl 3 HRESULT Next(DWORD cExceptions, IChangeUnitException** ppChangeUnitException, DWORD* pcFetched)
cExceptionsDWORDin取得を要求する変更単位例外の個数を指定する。
ppChangeUnitExceptionIChangeUnitException**out取得した変更単位例外を表す IChangeUnitException の配列を受け取るポインタである。
pcFetchedDWORD*inout実際に取得された変更単位例外の個数を受け取る DWORD へのポインタである。NULL を指定できる。
vtbl 4 HRESULT Skip(DWORD cExceptions)
cExceptionsDWORDinスキップする変更単位例外の個数を指定する。
vtbl 5 HRESULT Reset()
vtbl 6 HRESULT Clone(IEnumChangeUnitExceptions** ppEnum)
ppEnumIEnumChangeUnitExceptions**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 指定が可能。