#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IUriBuilder "{4221B2E1-8955-46C0-BD5B-DE9897565DE7}"
#usecom global IUriBuilder IID_IUriBuilder "{}"
#comfunc global IUriBuilder_CreateUriSimple 3 int,sptr,sptr
#comfunc global IUriBuilder_CreateUri 4 int,int,sptr,sptr
#comfunc global IUriBuilder_CreateUriWithFlags 5 int,int,int,sptr,sptr
#comfunc global IUriBuilder_GetIUri 6 sptr
#comfunc global IUriBuilder_SetIUri 7 sptr
#comfunc global IUriBuilder_GetFragment 8 var,var
#comfunc global IUriBuilder_GetHost 9 var,var
#comfunc global IUriBuilder_GetPassword 10 var,var
#comfunc global IUriBuilder_GetPath 11 var,var
#comfunc global IUriBuilder_GetPort 12 var,var
#comfunc global IUriBuilder_GetQuery 13 var,var
#comfunc global IUriBuilder_GetSchemeName 14 var,var
#comfunc global IUriBuilder_GetUserName 15 var,var
#comfunc global IUriBuilder_SetFragment 16 wstr
#comfunc global IUriBuilder_SetHost 17 wstr
#comfunc global IUriBuilder_SetPassword 18 wstr
#comfunc global IUriBuilder_SetPath 19 wstr
#comfunc global IUriBuilder_SetPort 20 int,int
#comfunc global IUriBuilder_SetQuery 21 wstr
#comfunc global IUriBuilder_SetSchemeName 22 wstr
#comfunc global IUriBuilder_SetUserName 23 wstr
#comfunc global IUriBuilder_RemoveProperties 24 int
#comfunc global IUriBuilder_HasBeenModified 25 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IUriBuilder "{4221B2E1-8955-46C0-BD5B-DE9897565DE7}"
#usecom global IUriBuilder IID_IUriBuilder "{}"
#comfunc global IUriBuilder_CreateUriSimple 3 int,sptr,sptr
#comfunc global IUriBuilder_CreateUri 4 int,int,sptr,sptr
#comfunc global IUriBuilder_CreateUriWithFlags 5 int,int,int,sptr,sptr
#comfunc global IUriBuilder_GetIUri 6 sptr
#comfunc global IUriBuilder_SetIUri 7 sptr
#comfunc global IUriBuilder_GetFragment 8 sptr,sptr
#comfunc global IUriBuilder_GetHost 9 sptr,sptr
#comfunc global IUriBuilder_GetPassword 10 sptr,sptr
#comfunc global IUriBuilder_GetPath 11 sptr,sptr
#comfunc global IUriBuilder_GetPort 12 sptr,sptr
#comfunc global IUriBuilder_GetQuery 13 sptr,sptr
#comfunc global IUriBuilder_GetSchemeName 14 sptr,sptr
#comfunc global IUriBuilder_GetUserName 15 sptr,sptr
#comfunc global IUriBuilder_SetFragment 16 wstr
#comfunc global IUriBuilder_SetHost 17 wstr
#comfunc global IUriBuilder_SetPassword 18 wstr
#comfunc global IUriBuilder_SetPath 19 wstr
#comfunc global IUriBuilder_SetPort 20 int,int
#comfunc global IUriBuilder_SetQuery 21 wstr
#comfunc global IUriBuilder_SetSchemeName 22 wstr
#comfunc global IUriBuilder_SetUserName 23 wstr
#comfunc global IUriBuilder_RemoveProperties 24 int
#comfunc global IUriBuilder_HasBeenModified 25 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。