#define global IID_IGameStatistics "{3887C9CA-04A0-42AE-BC4C-5FA6C7721145}"
#usecom global IGameStatistics IID_IGameStatistics "{DBC85A2C-C0DC-4961-B6E2-D28B62C11AD4}"
#comfunc global IGameStatistics_GetMaxCategoryLength 3 var
#comfunc global IGameStatistics_GetMaxNameLength 4 var
#comfunc global IGameStatistics_GetMaxValueLength 5 var
#comfunc global IGameStatistics_GetMaxCategories 6 var
#comfunc global IGameStatistics_GetMaxStatsPerCategory 7 var
#comfunc global IGameStatistics_SetCategoryTitle 8 int,wstr
#comfunc global IGameStatistics_GetCategoryTitle 9 int,var
#comfunc global IGameStatistics_GetStatistic 10 int,int,var,var
#comfunc global IGameStatistics_SetStatistic 11 int,int,wstr,wstr
#comfunc global IGameStatistics_Save 12 int
#comfunc global IGameStatistics_SetLastPlayedCategory 13 int
#comfunc global IGameStatistics_GetLastPlayedCategory 14 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IGameStatistics "{3887C9CA-04A0-42AE-BC4C-5FA6C7721145}"
#usecom global IGameStatistics IID_IGameStatistics "{DBC85A2C-C0DC-4961-B6E2-D28B62C11AD4}"
#comfunc global IGameStatistics_GetMaxCategoryLength 3 sptr
#comfunc global IGameStatistics_GetMaxNameLength 4 sptr
#comfunc global IGameStatistics_GetMaxValueLength 5 sptr
#comfunc global IGameStatistics_GetMaxCategories 6 sptr
#comfunc global IGameStatistics_GetMaxStatsPerCategory 7 sptr
#comfunc global IGameStatistics_SetCategoryTitle 8 int,wstr
#comfunc global IGameStatistics_GetCategoryTitle 9 int,sptr
#comfunc global IGameStatistics_GetStatistic 10 int,int,sptr,sptr
#comfunc global IGameStatistics_SetStatistic 11 int,int,wstr,wstr
#comfunc global IGameStatistics_Save 12 int
#comfunc global IGameStatistics_SetLastPlayedCategory 13 int
#comfunc global IGameStatistics_GetLastPlayedCategory 14 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。