IMbnInterfaceManager::GetInterface method
Gets a specific interface.
Syntax
HRESULT GetInterface(
[in] LPCWSTR interfaceID,
[out, retval] IMbnInterface **mbnInterface
);
Parameters
- interfaceID [in]
-
A string that contains the ID of the interface to retrieve.
- mbnInterface [out, retval]
-
Pointer to the address of the IMbnInterface specified by interfaceID or NULL if there is no matching interface.
Return value
This method can return one of these values.
| Return code | Description |
|---|---|
|
The method completed successfully. |
|
There is no available interface matching the specified interface ID. |
|
The mbnInterface parameter is NULL. |
|
Could not allocate the required memory. |
Requirements
|
Minimum supported client |
Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
None supported |
|
IDL |
|
See also