ホーム › NetworkManagement.NetManagement › INetCfgComponentBindings
INetCfgComponentBindings
COMメソッド 8
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT BindTo(INetCfgComponent* pnccItem)
| pnccItem | INetCfgComponent* | in | バインド先とするコンポーネントINetCfgComponent。 |
vtbl 4 HRESULT UnbindFrom(INetCfgComponent* pnccItem)
| pnccItem | INetCfgComponent* | in | バインドを解除する対象コンポーネントINetCfgComponent。 |
| dwFlags | DWORD | in | 判定方法を制御するフラグ。 |
| pszwInterfaceName | LPWSTR | in | 対応可否を確認するバインディングインターフェイス名。 |
vtbl 6 HRESULT IsBoundTo(INetCfgComponent* pnccItem)
| pnccItem | INetCfgComponent* | in | 現在バインド済みか判定する対象コンポーネント。バインド済みならS_OK。 |
vtbl 7 HRESULT IsBindableTo(INetCfgComponent* pnccItem)
| pnccItem | INetCfgComponent* | in | バインド可能か判定する対象コンポーネント。可能ならS_OK。 |
vtbl 8 HRESULT EnumBindingPaths(DWORD dwFlags, IEnumNetCfgBindingPath** ppIEnum)
| dwFlags | DWORD | in | 列挙対象のバインディングパスを絞り込むEBP_*フラグ。 |
| ppIEnum | IEnumNetCfgBindingPath** | outoptional | バインディングパス列挙用のIEnumNetCfgBindingPathを受け取る。 |
vtbl 9 HRESULT MoveBefore(INetCfgBindingPath* pncbItemSrc, INetCfgBindingPath* pncbItemDest)
| pncbItemSrc | INetCfgBindingPath* | in | 移動させる元のバインディングパス。 |
| pncbItemDest | INetCfgBindingPath* | inoptional | この基準パスの直前に移動させる。NULLで先頭へ移動。 |
vtbl 10 HRESULT MoveAfter(INetCfgBindingPath* pncbItemSrc, INetCfgBindingPath* pncbItemDest)
| pncbItemSrc | INetCfgBindingPath* | in | 移動させる元のバインディングパス。 |
| pncbItemDest | INetCfgBindingPath* | inoptional | この基準パスの直後に移動させる。NULLで末尾へ移動。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
#define global IID_INetCfgComponentBindings "{C0E8AE9E-306E-11D1-AACF-00805FC1270E}"
#usecom global INetCfgComponentBindings IID_INetCfgComponentBindings "{}"
#comfunc global INetCfgComponentBindings_BindTo 3 sptr
#comfunc global INetCfgComponentBindings_UnbindFrom 4 sptr
#comfunc global INetCfgComponentBindings_SupportsBindingInterface 5 int,wstr
#comfunc global INetCfgComponentBindings_IsBoundTo 6 sptr
#comfunc global INetCfgComponentBindings_IsBindableTo 7 sptr
#comfunc global INetCfgComponentBindings_EnumBindingPaths 8 int,sptr
#comfunc global INetCfgComponentBindings_MoveBefore 9 sptr,sptr
#comfunc global INetCfgComponentBindings_MoveAfter 10 sptr,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。