Returns the name of the document, with no path information.
Syntax
HRESULT GetFileName( BSTR *pbstrShortName );
Parameters
- pbstrShortName
- [out] Address of a string that contains the name of the document.
Return Value
Returns S_OK if successful, or an error code otherwise.