#define global IID_ITypeLibRegistration "{76A3E735-02DF-4A12-98EB-043AD3600AF3}"
#usecom global ITypeLibRegistration IID_ITypeLibRegistration "{}"
#comfunc global ITypeLibRegistration_GetGuid 3 var
#comfunc global ITypeLibRegistration_GetVersion 4 var
#comfunc global ITypeLibRegistration_GetLcid 5 var
#comfunc global ITypeLibRegistration_GetWin32Path 6 var
#comfunc global ITypeLibRegistration_GetWin64Path 7 var
#comfunc global ITypeLibRegistration_GetDisplayName 8 var
#comfunc global ITypeLibRegistration_GetFlags 9 var
#comfunc global ITypeLibRegistration_GetHelpDir 10 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_ITypeLibRegistration "{76A3E735-02DF-4A12-98EB-043AD3600AF3}"
#usecom global ITypeLibRegistration IID_ITypeLibRegistration "{}"
#comfunc global ITypeLibRegistration_GetGuid 3 sptr
#comfunc global ITypeLibRegistration_GetVersion 4 sptr
#comfunc global ITypeLibRegistration_GetLcid 5 sptr
#comfunc global ITypeLibRegistration_GetWin32Path 6 sptr
#comfunc global ITypeLibRegistration_GetWin64Path 7 sptr
#comfunc global ITypeLibRegistration_GetDisplayName 8 sptr
#comfunc global ITypeLibRegistration_GetFlags 9 sptr
#comfunc global ITypeLibRegistration_GetHelpDir 10 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。