Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 codeDescription
S_OK

The method completed successfully.

HRESULT_FROM_WIN32(ERROR_NOT_FOUND)

There is no available interface matching the specified interface ID.

E_POINTER

The mbnInterface parameter is NULL.

E_OUTOFMEMORY

Could not allocate the required memory.

 

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

None supported

IDL

Mbnapi.idl

See also

IMbnInterfaceManager

 

 

Show: