ホーム › NetworkManagement.MobileBroadband › IMbnConnectionProfileManagerEvents
IMbnConnectionProfileManagerEvents
COMメソッド 2
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT OnConnectionProfileArrival(IMbnConnectionProfile* newConnectionProfile)
| newConnectionProfile | IMbnConnectionProfile* | in | 新たに追加された接続プロファイルを示すIMbnConnectionProfileポインタ。 |
vtbl 4 HRESULT OnConnectionProfileRemoval(IMbnConnectionProfile* oldConnectionProfile)
| oldConnectionProfile | IMbnConnectionProfile* | in | 削除された接続プロファイルを示すIMbnConnectionProfileポインタ。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
#define global IID_IMbnConnectionProfileManagerEvents "{DCBBBAB6-201F-4BBB-AAEE-338E368AF6FA}"
#usecom global IMbnConnectionProfileManagerEvents IID_IMbnConnectionProfileManagerEvents "{}"
#comfunc global IMbnConnectionProfileManagerEvents_OnConnectionProfileArrival 3 sptr
#comfunc global IMbnConnectionProfileManagerEvents_OnConnectionProfileRemoval 4 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。