#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IXmlWriterLite "{862494C6-1310-4AAD-B3CD-2DBEEBF670D3}"
#usecom global IXmlWriterLite IID_IXmlWriterLite "{}"
#comfunc global IXmlWriterLite_SetOutput 3 sptr
#comfunc global IXmlWriterLite_GetProperty 4 int,var
#comfunc global IXmlWriterLite_SetProperty 5 int,sptr
#comfunc global IXmlWriterLite_WriteAttributes 6 sptr,int
#comfunc global IXmlWriterLite_WriteAttributeString 7 wstr,int,wstr,int
#comfunc global IXmlWriterLite_WriteCData 8 wstr
#comfunc global IXmlWriterLite_WriteCharEntity 9 int
#comfunc global IXmlWriterLite_WriteChars 10 wstr,int
#comfunc global IXmlWriterLite_WriteComment 11 wstr
#comfunc global IXmlWriterLite_WriteDocType 12 wstr,wstr,wstr,wstr
#comfunc global IXmlWriterLite_WriteElementString 13 wstr,int,wstr
#comfunc global IXmlWriterLite_WriteEndDocument 14
#comfunc global IXmlWriterLite_WriteEndElement 15 wstr,int
#comfunc global IXmlWriterLite_WriteEntityRef 16 wstr
#comfunc global IXmlWriterLite_WriteFullEndElement 17 wstr,int
#comfunc global IXmlWriterLite_WriteName 18 wstr
#comfunc global IXmlWriterLite_WriteNmToken 19 wstr
#comfunc global IXmlWriterLite_WriteNode 20 sptr,int
#comfunc global IXmlWriterLite_WriteNodeShallow 21 sptr,int
#comfunc global IXmlWriterLite_WriteProcessingInstruction 22 wstr,wstr
#comfunc global IXmlWriterLite_WriteRaw 23 wstr
#comfunc global IXmlWriterLite_WriteRawChars 24 wstr,int
#comfunc global IXmlWriterLite_WriteStartDocument 25 int
#comfunc global IXmlWriterLite_WriteStartElement 26 wstr,int
#comfunc global IXmlWriterLite_WriteString 27 wstr
#comfunc global IXmlWriterLite_WriteSurrogateCharEntity 28 int,int
#comfunc global IXmlWriterLite_WriteWhitespace 29 wstr
#comfunc global IXmlWriterLite_Flush 30
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IXmlWriterLite "{862494C6-1310-4AAD-B3CD-2DBEEBF670D3}"
#usecom global IXmlWriterLite IID_IXmlWriterLite "{}"
#comfunc global IXmlWriterLite_SetOutput 3 sptr
#comfunc global IXmlWriterLite_GetProperty 4 int,sptr
#comfunc global IXmlWriterLite_SetProperty 5 int,sptr
#comfunc global IXmlWriterLite_WriteAttributes 6 sptr,int
#comfunc global IXmlWriterLite_WriteAttributeString 7 wstr,int,wstr,int
#comfunc global IXmlWriterLite_WriteCData 8 wstr
#comfunc global IXmlWriterLite_WriteCharEntity 9 int
#comfunc global IXmlWriterLite_WriteChars 10 wstr,int
#comfunc global IXmlWriterLite_WriteComment 11 wstr
#comfunc global IXmlWriterLite_WriteDocType 12 wstr,wstr,wstr,wstr
#comfunc global IXmlWriterLite_WriteElementString 13 wstr,int,wstr
#comfunc global IXmlWriterLite_WriteEndDocument 14
#comfunc global IXmlWriterLite_WriteEndElement 15 wstr,int
#comfunc global IXmlWriterLite_WriteEntityRef 16 wstr
#comfunc global IXmlWriterLite_WriteFullEndElement 17 wstr,int
#comfunc global IXmlWriterLite_WriteName 18 wstr
#comfunc global IXmlWriterLite_WriteNmToken 19 wstr
#comfunc global IXmlWriterLite_WriteNode 20 sptr,int
#comfunc global IXmlWriterLite_WriteNodeShallow 21 sptr,int
#comfunc global IXmlWriterLite_WriteProcessingInstruction 22 wstr,wstr
#comfunc global IXmlWriterLite_WriteRaw 23 wstr
#comfunc global IXmlWriterLite_WriteRawChars 24 wstr,int
#comfunc global IXmlWriterLite_WriteStartDocument 25 int
#comfunc global IXmlWriterLite_WriteStartElement 26 wstr,int
#comfunc global IXmlWriterLite_WriteString 27 wstr
#comfunc global IXmlWriterLite_WriteSurrogateCharEntity 28 int,int
#comfunc global IXmlWriterLite_WriteWhitespace 29 wstr
#comfunc global IXmlWriterLite_Flush 30
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。