#define global IID_IMbnRegistration "{DCBBBAB6-2009-4BBB-AAEE-338E368AF6FA}"
#usecom global IMbnRegistration IID_IMbnRegistration "{}"
#comfunc global IMbnRegistration_GetRegisterState 3 var
#comfunc global IMbnRegistration_GetRegisterMode 4 var
#comfunc global IMbnRegistration_GetProviderID 5 var
#comfunc global IMbnRegistration_GetProviderName 6 var
#comfunc global IMbnRegistration_GetRoamingText 7 var
#comfunc global IMbnRegistration_GetAvailableDataClasses 8 var
#comfunc global IMbnRegistration_GetCurrentDataClass 9 var
#comfunc global IMbnRegistration_GetRegistrationNetworkError 10 var
#comfunc global IMbnRegistration_GetPacketAttachNetworkError 11 var
#comfunc global IMbnRegistration_SetRegisterMode 12 int,wstr,int,var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IMbnRegistration "{DCBBBAB6-2009-4BBB-AAEE-338E368AF6FA}"
#usecom global IMbnRegistration IID_IMbnRegistration "{}"
#comfunc global IMbnRegistration_GetRegisterState 3 sptr
#comfunc global IMbnRegistration_GetRegisterMode 4 sptr
#comfunc global IMbnRegistration_GetProviderID 5 sptr
#comfunc global IMbnRegistration_GetProviderName 6 sptr
#comfunc global IMbnRegistration_GetRoamingText 7 sptr
#comfunc global IMbnRegistration_GetAvailableDataClasses 8 sptr
#comfunc global IMbnRegistration_GetCurrentDataClass 9 sptr
#comfunc global IMbnRegistration_GetRegistrationNetworkError 10 sptr
#comfunc global IMbnRegistration_GetPacketAttachNetworkError 11 sptr
#comfunc global IMbnRegistration_SetRegisterMode 12 int,wstr,int,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。