#define global IID_IUpdateSearcher "{8F45ABF1-F9AE-4B95-A933-F0F66E5056EA}"
#usecom global IUpdateSearcher IID_IUpdateSearcher "{B699E5E8-67FF-4177-88B0-3684A3388BFB}"
#comfunc global IUpdateSearcher_get_CanAutomaticallyUpgradeService 7 var
#comfunc global IUpdateSearcher_put_CanAutomaticallyUpgradeService 8 int
#comfunc global IUpdateSearcher_get_ClientApplicationID 9 var
#comfunc global IUpdateSearcher_put_ClientApplicationID 10 wstr
#comfunc global IUpdateSearcher_get_IncludePotentiallySupersededUpdates 11 var
#comfunc global IUpdateSearcher_put_IncludePotentiallySupersededUpdates 12 int
#comfunc global IUpdateSearcher_get_ServerSelection 13 var
#comfunc global IUpdateSearcher_put_ServerSelection 14 int
#comfunc global IUpdateSearcher_BeginSearch 15 wstr,sptr,int,sptr
#comfunc global IUpdateSearcher_EndSearch 16 sptr,sptr
#comfunc global IUpdateSearcher_EscapeString 17 wstr,var
#comfunc global IUpdateSearcher_QueryHistory 18 int,int,sptr
#comfunc global IUpdateSearcher_Search 19 wstr,sptr
#comfunc global IUpdateSearcher_get_Online 20 var
#comfunc global IUpdateSearcher_put_Online 21 int
#comfunc global IUpdateSearcher_GetTotalHistoryCount 22 var
#comfunc global IUpdateSearcher_get_ServiceID 23 var
#comfunc global IUpdateSearcher_put_ServiceID 24 wstr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IUpdateSearcher "{8F45ABF1-F9AE-4B95-A933-F0F66E5056EA}"
#usecom global IUpdateSearcher IID_IUpdateSearcher "{B699E5E8-67FF-4177-88B0-3684A3388BFB}"
#comfunc global IUpdateSearcher_get_CanAutomaticallyUpgradeService 7 sptr
#comfunc global IUpdateSearcher_put_CanAutomaticallyUpgradeService 8 int
#comfunc global IUpdateSearcher_get_ClientApplicationID 9 sptr
#comfunc global IUpdateSearcher_put_ClientApplicationID 10 wstr
#comfunc global IUpdateSearcher_get_IncludePotentiallySupersededUpdates 11 sptr
#comfunc global IUpdateSearcher_put_IncludePotentiallySupersededUpdates 12 int
#comfunc global IUpdateSearcher_get_ServerSelection 13 sptr
#comfunc global IUpdateSearcher_put_ServerSelection 14 int
#comfunc global IUpdateSearcher_BeginSearch 15 wstr,sptr,int,sptr
#comfunc global IUpdateSearcher_EndSearch 16 sptr,sptr
#comfunc global IUpdateSearcher_EscapeString 17 wstr,sptr
#comfunc global IUpdateSearcher_QueryHistory 18 int,int,sptr
#comfunc global IUpdateSearcher_Search 19 wstr,sptr
#comfunc global IUpdateSearcher_get_Online 20 sptr
#comfunc global IUpdateSearcher_put_Online 21 int
#comfunc global IUpdateSearcher_GetTotalHistoryCount 22 sptr
#comfunc global IUpdateSearcher_get_ServiceID 23 sptr
#comfunc global IUpdateSearcher_put_ServiceID 24 wstr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。