Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the name of the document in one of several forms.
Syntax
Parameters
gnType
[in] A value from the GETNAME_TYPE enumeration that determines the type of name to return.
pbstrFileName
[out] Returns a string containing the document name.
Return Value
If successful, returns S_OK
; otherwise, returns an error code.
Remarks
This method can, for example, return the name of the document as a title or as a file name or even part of a file name.