#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IDebugSymbolGroup2 "{6A7CCC5F-FB5E-4DCC-B41C-6C20307BCCC7}"
#usecom global IDebugSymbolGroup2 IID_IDebugSymbolGroup2 "{}"
#comfunc global IDebugSymbolGroup2_GetNumberSymbols 3 var
#comfunc global IDebugSymbolGroup2_AddSymbol 4 str,var
#comfunc global IDebugSymbolGroup2_RemoveSymbolByName 5 str
#comfunc global IDebugSymbolGroup2_RemoveSymbolByIndex 6 int
#comfunc global IDebugSymbolGroup2_GetSymbolName 7 int,var,int,var
#comfunc global IDebugSymbolGroup2_GetSymbolParameters 8 int,int,var
#comfunc global IDebugSymbolGroup2_ExpandSymbol 9 int,int
#comfunc global IDebugSymbolGroup2_OutputSymbols 10 int,int,int,int
#comfunc global IDebugSymbolGroup2_WriteSymbol 11 int,str
#comfunc global IDebugSymbolGroup2_OutputAsType 12 int,str
#comfunc global IDebugSymbolGroup2_AddSymbolWide 13 wstr,var
#comfunc global IDebugSymbolGroup2_RemoveSymbolByNameWide 14 wstr
#comfunc global IDebugSymbolGroup2_GetSymbolNameWide 15 int,var,int,var
#comfunc global IDebugSymbolGroup2_WriteSymbolWide 16 int,wstr
#comfunc global IDebugSymbolGroup2_OutputAsTypeWide 17 int,wstr
#comfunc global IDebugSymbolGroup2_GetSymbolTypeName 18 int,var,int,var
#comfunc global IDebugSymbolGroup2_GetSymbolTypeNameWide 19 int,var,int,var
#comfunc global IDebugSymbolGroup2_GetSymbolSize 20 int,var
#comfunc global IDebugSymbolGroup2_GetSymbolOffset 21 int,var
#comfunc global IDebugSymbolGroup2_GetSymbolRegister 22 int,var
#comfunc global IDebugSymbolGroup2_GetSymbolValueText 23 int,var,int,var
#comfunc global IDebugSymbolGroup2_GetSymbolValueTextWide 24 int,var,int,var
#comfunc global IDebugSymbolGroup2_GetSymbolEntryInformation 25 int,var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IDebugSymbolGroup2 "{6A7CCC5F-FB5E-4DCC-B41C-6C20307BCCC7}"
#usecom global IDebugSymbolGroup2 IID_IDebugSymbolGroup2 "{}"
#comfunc global IDebugSymbolGroup2_GetNumberSymbols 3 sptr
#comfunc global IDebugSymbolGroup2_AddSymbol 4 str,sptr
#comfunc global IDebugSymbolGroup2_RemoveSymbolByName 5 str
#comfunc global IDebugSymbolGroup2_RemoveSymbolByIndex 6 int
#comfunc global IDebugSymbolGroup2_GetSymbolName 7 int,sptr,int,sptr
#comfunc global IDebugSymbolGroup2_GetSymbolParameters 8 int,int,sptr
#comfunc global IDebugSymbolGroup2_ExpandSymbol 9 int,int
#comfunc global IDebugSymbolGroup2_OutputSymbols 10 int,int,int,int
#comfunc global IDebugSymbolGroup2_WriteSymbol 11 int,str
#comfunc global IDebugSymbolGroup2_OutputAsType 12 int,str
#comfunc global IDebugSymbolGroup2_AddSymbolWide 13 wstr,sptr
#comfunc global IDebugSymbolGroup2_RemoveSymbolByNameWide 14 wstr
#comfunc global IDebugSymbolGroup2_GetSymbolNameWide 15 int,sptr,int,sptr
#comfunc global IDebugSymbolGroup2_WriteSymbolWide 16 int,wstr
#comfunc global IDebugSymbolGroup2_OutputAsTypeWide 17 int,wstr
#comfunc global IDebugSymbolGroup2_GetSymbolTypeName 18 int,sptr,int,sptr
#comfunc global IDebugSymbolGroup2_GetSymbolTypeNameWide 19 int,sptr,int,sptr
#comfunc global IDebugSymbolGroup2_GetSymbolSize 20 int,sptr
#comfunc global IDebugSymbolGroup2_GetSymbolOffset 21 int,sptr
#comfunc global IDebugSymbolGroup2_GetSymbolRegister 22 int,sptr
#comfunc global IDebugSymbolGroup2_GetSymbolValueText 23 int,sptr,int,sptr
#comfunc global IDebugSymbolGroup2_GetSymbolValueTextWide 24 int,sptr,int,sptr
#comfunc global IDebugSymbolGroup2_GetSymbolEntryInformation 25 int,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。