Sets MSHTML's IDocHostUIHandler interface.
Syntax
HRESULT SetUIHandler( IDocHostUIHandler *pUIHandler );
Parameters
- pUIHandler
- Address of the host's IDocHostUIHandler interface.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
MSHTML will release its previous IDocHostUIHandler interface (if one is present) and call pUIHandler's AddRef method.