Click to return to the Component Development home page    
IDebugDocumentHost::GetFi...     IDebugDocumentHost::GetSc...     IDebugDocumentHost Interf...    
Web Workshop  |  Component Development

IDebugDocumentHost::GetPathName Method


Returns the full path, including the file name, to the document's source file.

Syntax

HRESULT GetPathName(
    BSTR *pbstrLongName,
    BOOL *pfIsOriginalFile
);

Parameters

pbstrLongName
[out] Address of a string that contains the full path of the document.
pfIsOriginalFile
[out] Address of a Boolean value that is set to TRUE if the path refers to the original file, or FALSE if the path refers to a newly created temporary file.

Return Value

Returns S_OK if successful, or an error code otherwise.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.