Add scripting to your application with Vbsedit !

IDebugDocumentTextExternalAuthor::GetPathName

 

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.


Add VBScript and Javascript scripting
to your application with VbsEdit !



Download Now!

This package includes VbsEdit 32-bit and 64-bit.




Home  

Copyright © 2001-2024 adersοft