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'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.