|Microsoft Windows Script Interfaces|
Returns the full path and file name of the document.
HRESULT GetPathName( BSTR* pbstrLongName, BOOL* pfIsOriginalFile );
[out] String containing the full path and file name.
[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.
The method succeeded.
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.