Share via


INetCfgBindingPath::GetOwner method

The GetOwner method retrieves the network component that owns a binding path.

Syntax

HRESULT GetOwner(
  [out, optional] INetCfgComponent **ppComponent
);

Parameters

  • ppComponent [out, optional]
    Pointer to a buffer that receives a pointer to the INetCfgComponent interface. This INetCfgComponent can access the network component that owns this binding path.

Return value

Returns zero (S_OK) if successful; otherwise, returns NETCFG_* codes that are defined in Netcfgx.h. If the returned pointer points to NULL, GetOwner returns E_POINTER.

Remarks

The network component at the top of a binding path is the component that owns the binding path.

Requirements

Target platform

Desktop

Header

Netcfgx.h (include Netcfgx.h)

See also

INetCfgComponent

 

 

Send comments about this topic to Microsoft