#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IXmlWriter "{7279FC88-709D-4095-B63D-69FE4B0D9030}"
#usecom global IXmlWriter IID_IXmlWriter "{}"
#comfunc global IXmlWriter_SetOutput 3 sptr
#comfunc global IXmlWriter_GetProperty 4 int,var
#comfunc global IXmlWriter_SetProperty 5 int,sptr
#comfunc global IXmlWriter_WriteAttributes 6 sptr,int
#comfunc global IXmlWriter_WriteAttributeString 7 wstr,wstr,wstr,wstr
#comfunc global IXmlWriter_WriteCData 8 wstr
#comfunc global IXmlWriter_WriteCharEntity 9 int
#comfunc global IXmlWriter_WriteChars 10 wstr,int
#comfunc global IXmlWriter_WriteComment 11 wstr
#comfunc global IXmlWriter_WriteDocType 12 wstr,wstr,wstr,wstr
#comfunc global IXmlWriter_WriteElementString 13 wstr,wstr,wstr,wstr
#comfunc global IXmlWriter_WriteEndDocument 14
#comfunc global IXmlWriter_WriteEndElement 15
#comfunc global IXmlWriter_WriteEntityRef 16 wstr
#comfunc global IXmlWriter_WriteFullEndElement 17
#comfunc global IXmlWriter_WriteName 18 wstr
#comfunc global IXmlWriter_WriteNmToken 19 wstr
#comfunc global IXmlWriter_WriteNode 20 sptr,int
#comfunc global IXmlWriter_WriteNodeShallow 21 sptr,int
#comfunc global IXmlWriter_WriteProcessingInstruction 22 wstr,wstr
#comfunc global IXmlWriter_WriteQualifiedName 23 wstr,wstr
#comfunc global IXmlWriter_WriteRaw 24 wstr
#comfunc global IXmlWriter_WriteRawChars 25 wstr,int
#comfunc global IXmlWriter_WriteStartDocument 26 int
#comfunc global IXmlWriter_WriteStartElement 27 wstr,wstr,wstr
#comfunc global IXmlWriter_WriteString 28 wstr
#comfunc global IXmlWriter_WriteSurrogateCharEntity 29 int,int
#comfunc global IXmlWriter_WriteWhitespace 30 wstr
#comfunc global IXmlWriter_Flush 31
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IXmlWriter "{7279FC88-709D-4095-B63D-69FE4B0D9030}"
#usecom global IXmlWriter IID_IXmlWriter "{}"
#comfunc global IXmlWriter_SetOutput 3 sptr
#comfunc global IXmlWriter_GetProperty 4 int,sptr
#comfunc global IXmlWriter_SetProperty 5 int,sptr
#comfunc global IXmlWriter_WriteAttributes 6 sptr,int
#comfunc global IXmlWriter_WriteAttributeString 7 wstr,wstr,wstr,wstr
#comfunc global IXmlWriter_WriteCData 8 wstr
#comfunc global IXmlWriter_WriteCharEntity 9 int
#comfunc global IXmlWriter_WriteChars 10 wstr,int
#comfunc global IXmlWriter_WriteComment 11 wstr
#comfunc global IXmlWriter_WriteDocType 12 wstr,wstr,wstr,wstr
#comfunc global IXmlWriter_WriteElementString 13 wstr,wstr,wstr,wstr
#comfunc global IXmlWriter_WriteEndDocument 14
#comfunc global IXmlWriter_WriteEndElement 15
#comfunc global IXmlWriter_WriteEntityRef 16 wstr
#comfunc global IXmlWriter_WriteFullEndElement 17
#comfunc global IXmlWriter_WriteName 18 wstr
#comfunc global IXmlWriter_WriteNmToken 19 wstr
#comfunc global IXmlWriter_WriteNode 20 sptr,int
#comfunc global IXmlWriter_WriteNodeShallow 21 sptr,int
#comfunc global IXmlWriter_WriteProcessingInstruction 22 wstr,wstr
#comfunc global IXmlWriter_WriteQualifiedName 23 wstr,wstr
#comfunc global IXmlWriter_WriteRaw 24 wstr
#comfunc global IXmlWriter_WriteRawChars 25 wstr,int
#comfunc global IXmlWriter_WriteStartDocument 26 int
#comfunc global IXmlWriter_WriteStartElement 27 wstr,wstr,wstr
#comfunc global IXmlWriter_WriteString 28 wstr
#comfunc global IXmlWriter_WriteSurrogateCharEntity 29 int,int
#comfunc global IXmlWriter_WriteWhitespace 30 wstr
#comfunc global IXmlWriter_Flush 31
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。