Share via


IDebugDocumentHelper::SetDebugDocumentHost

Sets the IDebugDocumentHost for this document.

Syntax

HRESULT SetDebugDocumentHost(  
   IDebugDocumentHost*  pddh  
);  

Parameters

pddh
[in] The debug document host.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value Description
S_OK The method succeeded.

Remarks

The IDebugDocumentHost interface is used for smart-host syntax coloring, fetching deferred text, and returning controlling objects for newly created document contexts.

See also

IDebugDocumentHelper Interface
IDebugDocumentHost Interface