Sets the external dispinterface, which is available to contained controls through the IDocHostUIHandlerDispatch::GetExternal method.
STDMETHOD( SetExternalDispatch )(
   IDispatch* pDisp 
);
Parameters
- pDisp
[in] A pointer to an IDispatch interface. 
Return Value
A standard HRESULT value.
Requirements
Header: atliface.h
See Also
Reference
CAxWindow::SetExternalDispatch