IDebugDocumentPosition2::GetDocument
Gets the containing document.
HRESULT GetDocument(
IDebugDocument2** ppDoc
);
int GetDocument(
out IDebugDocument2 ppDoc
);
- ppDoc
[out] Returns an IDebugDocument2 object that represents the document containing this position.
If successful, returns S_OK; otherwise, returns an error code.