INetCfgComponentBindings::SupportsBindingInterface method
The SupportsBindingInterface method verifies whether a network component supports either an upper-edge or lower-edge binding interface with the specified name.
Syntax
HRESULT SupportsBindingInterface(
[in] DWORD dwFlags,
[in] LPCWSTR pszwInterfaceName
);
Parameters
dwFlags [in]
A 32-bit value that specifies the type of binding interface for which to verify support. This value can be one of the following types from the SUPPORTS_BINDING_INTERFACE_FLAGS enumeration:Value Description NCF_LOWER
Supports the binding interface on the lower edge.
NCF_UPPER
Supports the binding interface on the upper edge.
pszwInterfaceName [in]
Pointer to a constant null-terminated string of 16-bit Unicode characters containing the name of the binding interface for which to verify support.
Return value
Returns zero (S_OK) if successful, indicating that the network component supports the binding interface, and returns S_FALSE if the network component does not support the binding interface. Otherwise, returns NETCFG_* codes that are defined in Netcfgx.h.
Remarks
Supporting a binding interface only indicates that the network component's information (INF) file lists the name of the binding interface as supported. It has nothing to do with whether the binding interface actually binds the component to other network components.
Names of binding interfaces include TDI and NDIS5.
Requirements
Target platform |
Desktop |
Header |
Netcfgx.h (include Netcfgx.h) |