#define global IID_ITargetInfo "{9F7D7BB8-20B3-11DA-81A5-0030F1642E3C}"
#usecom global ITargetInfo IID_ITargetInfo "{}"
#comfunc global ITargetInfo_GetTargetMode 3 var
#comfunc global ITargetInfo_SetTargetMode 4 int
#comfunc global ITargetInfo_GetTemporaryStoreLocation 5 var
#comfunc global ITargetInfo_SetTemporaryStoreLocation 6 wstr
#comfunc global ITargetInfo_GetTargetID 7 var
#comfunc global ITargetInfo_SetTargetID 8 int
#comfunc global ITargetInfo_GetTargetProcessorArchitecture 9 var
#comfunc global ITargetInfo_SetTargetProcessorArchitecture 10 wstr
#comfunc global ITargetInfo_GetProperty 11 int,wstr,var
#comfunc global ITargetInfo_SetProperty 12 int,wstr,wstr
#comfunc global ITargetInfo_GetEnumerator 13 sptr
#comfunc global ITargetInfo_ExpandTarget 14 int,wstr,var
#comfunc global ITargetInfo_ExpandTargetPath 15 int,wstr,var
#comfunc global ITargetInfo_SetModulePath 16 wstr,wstr
#comfunc global ITargetInfo_LoadModule 17 wstr,sptr
#comfunc global ITargetInfo_SetWow64Context 18 wstr,var
#comfunc global ITargetInfo_TranslateWow64 19 wstr,wstr,var
#comfunc global ITargetInfo_SetSchemaHiveLocation 20 wstr
#comfunc global ITargetInfo_GetSchemaHiveLocation 21 var
#comfunc global ITargetInfo_SetSchemaHiveMountName 22 wstr
#comfunc global ITargetInfo_GetSchemaHiveMountName 23 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_ITargetInfo "{9F7D7BB8-20B3-11DA-81A5-0030F1642E3C}"
#usecom global ITargetInfo IID_ITargetInfo "{}"
#comfunc global ITargetInfo_GetTargetMode 3 sptr
#comfunc global ITargetInfo_SetTargetMode 4 int
#comfunc global ITargetInfo_GetTemporaryStoreLocation 5 sptr
#comfunc global ITargetInfo_SetTemporaryStoreLocation 6 wstr
#comfunc global ITargetInfo_GetTargetID 7 sptr
#comfunc global ITargetInfo_SetTargetID 8 int
#comfunc global ITargetInfo_GetTargetProcessorArchitecture 9 sptr
#comfunc global ITargetInfo_SetTargetProcessorArchitecture 10 wstr
#comfunc global ITargetInfo_GetProperty 11 int,wstr,sptr
#comfunc global ITargetInfo_SetProperty 12 int,wstr,wstr
#comfunc global ITargetInfo_GetEnumerator 13 sptr
#comfunc global ITargetInfo_ExpandTarget 14 int,wstr,sptr
#comfunc global ITargetInfo_ExpandTargetPath 15 int,wstr,sptr
#comfunc global ITargetInfo_SetModulePath 16 wstr,wstr
#comfunc global ITargetInfo_LoadModule 17 wstr,sptr
#comfunc global ITargetInfo_SetWow64Context 18 wstr,sptr
#comfunc global ITargetInfo_TranslateWow64 19 wstr,wstr,sptr
#comfunc global ITargetInfo_SetSchemaHiveLocation 20 wstr
#comfunc global ITargetInfo_GetSchemaHiveLocation 21 sptr
#comfunc global ITargetInfo_SetSchemaHiveMountName 22 wstr
#comfunc global ITargetInfo_GetSchemaHiveMountName 23 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。