Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Returns the full path and file name of the document.
Syntax
HRESULT GetPathName(
BSTR* pbstrLongName,
BOOL* pfIsOriginalFile
);
Parameters
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.
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 |
The source file cannot be created or determined. |
Remarks
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.