Returns the name of the document without path information.
HRESULT GetFileName( BSTR* pbstrShortName );
[out] A string containing the short name of the document.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
The method succeeded.
This method returns the short name of the document without path information. The short name is typically used in situations such as the Save As... dialog box.