#define global IID_IXMLDocument2 "{2B8DE2FE-8D2D-11D1-B2FC-00C04FD915A9}"
#usecom global IXMLDocument2 IID_IXMLDocument2 "{CFC399AF-D876-11D0-9C10-00C04FC99C8E}"
#comfunc global IXMLDocument2_get_root 7 sptr
#comfunc global IXMLDocument2_get_fileSize 8 var
#comfunc global IXMLDocument2_get_fileModifiedDate 9 var
#comfunc global IXMLDocument2_get_fileUpdatedDate 10 var
#comfunc global IXMLDocument2_get_URL 11 var
#comfunc global IXMLDocument2_put_URL 12 wstr
#comfunc global IXMLDocument2_get_mimeType 13 var
#comfunc global IXMLDocument2_get_readyState 14 var
#comfunc global IXMLDocument2_get_charset 15 var
#comfunc global IXMLDocument2_put_charset 16 wstr
#comfunc global IXMLDocument2_get_version 17 var
#comfunc global IXMLDocument2_get_doctype 18 var
#comfunc global IXMLDocument2_get_dtdURL 19 var
#comfunc global IXMLDocument2_createElement 20 int,int,sptr
#comfunc global IXMLDocument2_get_async 21 var
#comfunc global IXMLDocument2_put_async 22 int
; ※数字は 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_IXMLDocument2 "{2B8DE2FE-8D2D-11D1-B2FC-00C04FD915A9}"
#usecom global IXMLDocument2 IID_IXMLDocument2 "{CFC399AF-D876-11D0-9C10-00C04FC99C8E}"
#comfunc global IXMLDocument2_get_root 7 sptr
#comfunc global IXMLDocument2_get_fileSize 8 sptr
#comfunc global IXMLDocument2_get_fileModifiedDate 9 sptr
#comfunc global IXMLDocument2_get_fileUpdatedDate 10 sptr
#comfunc global IXMLDocument2_get_URL 11 sptr
#comfunc global IXMLDocument2_put_URL 12 wstr
#comfunc global IXMLDocument2_get_mimeType 13 sptr
#comfunc global IXMLDocument2_get_readyState 14 sptr
#comfunc global IXMLDocument2_get_charset 15 sptr
#comfunc global IXMLDocument2_put_charset 16 wstr
#comfunc global IXMLDocument2_get_version 17 sptr
#comfunc global IXMLDocument2_get_doctype 18 sptr
#comfunc global IXMLDocument2_get_dtdURL 19 sptr
#comfunc global IXMLDocument2_createElement 20 int,int,sptr
#comfunc global IXMLDocument2_get_async 21 sptr
#comfunc global IXMLDocument2_put_async 22 int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。