#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IWbemPathKeyList "{9AE62877-7544-4BB0-AA26-A13824659ED6}"
#usecom global IWbemPathKeyList IID_IWbemPathKeyList "{}"
#comfunc global IWbemPathKeyList_GetCount 3 var
#comfunc global IWbemPathKeyList_SetKey 4 wstr,int,int,sptr
#comfunc global IWbemPathKeyList_SetKey2 5 wstr,int,int,var
#comfunc global IWbemPathKeyList_GetKey 6 int,int,var,var,var,sptr,var
#comfunc global IWbemPathKeyList_GetKey2 7 int,int,var,var,var,var
#comfunc global IWbemPathKeyList_RemoveKey 8 wstr,int
#comfunc global IWbemPathKeyList_RemoveAllKeys 9 int
#comfunc global IWbemPathKeyList_MakeSingleton 10 int
#comfunc global IWbemPathKeyList_GetInfo 11 int,var
#comfunc global IWbemPathKeyList_GetText 12 int,var,var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IWbemPathKeyList "{9AE62877-7544-4BB0-AA26-A13824659ED6}"
#usecom global IWbemPathKeyList IID_IWbemPathKeyList "{}"
#comfunc global IWbemPathKeyList_GetCount 3 sptr
#comfunc global IWbemPathKeyList_SetKey 4 wstr,int,int,sptr
#comfunc global IWbemPathKeyList_SetKey2 5 wstr,int,int,sptr
#comfunc global IWbemPathKeyList_GetKey 6 int,int,sptr,sptr,sptr,sptr,sptr
#comfunc global IWbemPathKeyList_GetKey2 7 int,int,sptr,sptr,sptr,sptr
#comfunc global IWbemPathKeyList_RemoveKey 8 wstr,int
#comfunc global IWbemPathKeyList_RemoveAllKeys 9 int
#comfunc global IWbemPathKeyList_MakeSingleton 10 int
#comfunc global IWbemPathKeyList_GetInfo 11 int,sptr
#comfunc global IWbemPathKeyList_GetText 12 int,sptr,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。