#define global IID_ISWbemObjectPath "{5791BC27-CE9C-11D1-97BF-0000F81E849C}"
#usecom global ISWbemObjectPath IID_ISWbemObjectPath "{5791BC26-CE9C-11D1-97BF-0000F81E849C}"
#comfunc global ISWbemObjectPath_get_Path 7 var
#comfunc global ISWbemObjectPath_put_Path 8 wstr
#comfunc global ISWbemObjectPath_get_RelPath 9 var
#comfunc global ISWbemObjectPath_put_RelPath 10 wstr
#comfunc global ISWbemObjectPath_get_Server 11 var
#comfunc global ISWbemObjectPath_put_Server 12 wstr
#comfunc global ISWbemObjectPath_get_Namespace 13 var
#comfunc global ISWbemObjectPath_put_Namespace 14 wstr
#comfunc global ISWbemObjectPath_get_ParentNamespace 15 var
#comfunc global ISWbemObjectPath_get_DisplayName 16 var
#comfunc global ISWbemObjectPath_put_DisplayName 17 wstr
#comfunc global ISWbemObjectPath_get_Class 18 var
#comfunc global ISWbemObjectPath_put_Class 19 wstr
#comfunc global ISWbemObjectPath_get_IsClass 20 var
#comfunc global ISWbemObjectPath_SetAsClass 21
#comfunc global ISWbemObjectPath_get_IsSingleton 22 var
#comfunc global ISWbemObjectPath_SetAsSingleton 23
#comfunc global ISWbemObjectPath_get_Keys 24 sptr
#comfunc global ISWbemObjectPath_get_Security_ 25 sptr
#comfunc global ISWbemObjectPath_get_Locale 26 var
#comfunc global ISWbemObjectPath_put_Locale 27 wstr
#comfunc global ISWbemObjectPath_get_Authority 28 var
#comfunc global ISWbemObjectPath_put_Authority 29 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_ISWbemObjectPath "{5791BC27-CE9C-11D1-97BF-0000F81E849C}"
#usecom global ISWbemObjectPath IID_ISWbemObjectPath "{5791BC26-CE9C-11D1-97BF-0000F81E849C}"
#comfunc global ISWbemObjectPath_get_Path 7 sptr
#comfunc global ISWbemObjectPath_put_Path 8 wstr
#comfunc global ISWbemObjectPath_get_RelPath 9 sptr
#comfunc global ISWbemObjectPath_put_RelPath 10 wstr
#comfunc global ISWbemObjectPath_get_Server 11 sptr
#comfunc global ISWbemObjectPath_put_Server 12 wstr
#comfunc global ISWbemObjectPath_get_Namespace 13 sptr
#comfunc global ISWbemObjectPath_put_Namespace 14 wstr
#comfunc global ISWbemObjectPath_get_ParentNamespace 15 sptr
#comfunc global ISWbemObjectPath_get_DisplayName 16 sptr
#comfunc global ISWbemObjectPath_put_DisplayName 17 wstr
#comfunc global ISWbemObjectPath_get_Class 18 sptr
#comfunc global ISWbemObjectPath_put_Class 19 wstr
#comfunc global ISWbemObjectPath_get_IsClass 20 sptr
#comfunc global ISWbemObjectPath_SetAsClass 21
#comfunc global ISWbemObjectPath_get_IsSingleton 22 sptr
#comfunc global ISWbemObjectPath_SetAsSingleton 23
#comfunc global ISWbemObjectPath_get_Keys 24 sptr
#comfunc global ISWbemObjectPath_get_Security_ 25 sptr
#comfunc global ISWbemObjectPath_get_Locale 26 sptr
#comfunc global ISWbemObjectPath_put_Locale 27 wstr
#comfunc global ISWbemObjectPath_get_Authority 28 sptr
#comfunc global ISWbemObjectPath_put_Authority 29 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 不要)。