Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.