Returns the full path and file name of the document.
HRESULT GetPathName( BSTR* pbstrLongName, BOOL* pfIsOriginalFile );
- pbstrLongName
[out] String containing the full path and file name.
- pfIsOriginalFile
[out] Boolean that indicates if the path and file name refer to the original document.
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 | The source file cannot be created or determined. |
This method returns the full path and file name of the document.
If pfIsOriginalFile is FALSE, the path and file name in pbstrLongName refer to a newly created temporary file.