#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IDxcContainerReflection "{D2C21B26-8350-4BDC-976A-331CE6F4C54C}"
#usecom global IDxcContainerReflection IID_IDxcContainerReflection "{}"
#comfunc global IDxcContainerReflection_Load 3 sptr
#comfunc global IDxcContainerReflection_GetPartCount 4 var
#comfunc global IDxcContainerReflection_GetPartKind 5 int,var
#comfunc global IDxcContainerReflection_GetPartContent 6 int,sptr
#comfunc global IDxcContainerReflection_FindFirstPartKind 7 int,var
#comfunc global IDxcContainerReflection_GetPartReflection 8 int,var,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IDxcContainerReflection "{D2C21B26-8350-4BDC-976A-331CE6F4C54C}"
#usecom global IDxcContainerReflection IID_IDxcContainerReflection "{}"
#comfunc global IDxcContainerReflection_Load 3 sptr
#comfunc global IDxcContainerReflection_GetPartCount 4 sptr
#comfunc global IDxcContainerReflection_GetPartKind 5 int,sptr
#comfunc global IDxcContainerReflection_GetPartContent 6 int,sptr
#comfunc global IDxcContainerReflection_FindFirstPartKind 7 int,sptr
#comfunc global IDxcContainerReflection_GetPartReflection 8 int,sptr,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。