Share via


IDebugDocumentContext::GetDocument

Returns the document that contains this context.

Syntax

HRESULT GetDocument(  
   IDebugDocument**  ppsd  
);  

Parameters

ppsd
[out] The document that contains this context.

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 GetDocument method returns the document that contains this context.

See also

IDebugDocumentContext Interface