Platform SDK: CDO for Windows 2000

GetInterface Method

The GetInterface method returns the specified dual interface on the object.

[Visual Basic]
Function GetInterface(ByVal Interface as String) as Object
[C++]
HRESULT GetInterface( BSTR Interface, IDispatch** ppUnknown);
[IDL]
HRESULT GetInterface([in] BSTR Interface, [out,retval] IDispatch** ppUnknown);

Parameters

Interface
The name of interface to obtain. The list of possible interfaces to return depends upon the Component Object Model (COM) class that provides the implementation.
ppUnknown [C++,IDL]
If the method succeeds, on return, the passed address holds a reference to the requested interface.

Remarks

This performs no function in Microsoft Collaboration Data Objects (CDO) for Microsoft® Windows® 2000 and is reserved for future use.