Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Gets the file name of the source file that contains the document position.
pbstrFileName
[out] Returns the file name of the source file.
If successful, returns S_OK
; otherwise, returns an error code.
A source file may not always have a file name (the source file may not exist on disk, for example).
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today