IDebugDocumentHost::GetPathName
Returns the full path and file name of the document's source file.
Syntax
HRESULT GetPathName(
BSTR* pbstrLongName,
BOOL* pfIsOriginalFile
);
Parameters
pbstrLongName
[out] A string containing the long name.
pfIsOriginalFile
[out] A flag that is true if pbstrLongName
refers to the original file for the document, false otherwise.
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. |
E_FAIL |
No source file can be created or determined. |
Remarks
This method returns the full path and file name of the document's source file.