API Documentation
>
Miscellaneous
>
Object ProFileselection
> Function ProFileselectionDocNameGet
Function ProFileselectionDocNameGet
Description
If the most recent file selected in ProFileOpen() or one of the related ProFile...Open() functions was secondary content, returns the primary document name.
Synopsis
#include <
ProUtil.h
>
ProError
ProFileselectionDocNameGet
(
ProPath
document_name
/* (Out)
The name and extension of the primary document.
*/
)
Returns
PRO_TK_NO_ERROR
The most recent selection was secondary.
PRO_TK_E_NOT_FOUND
The most recent selection was NOT secondary.
PRO_TK_BAD_INPUTS
document_name was NULL.
User Guide References
File Copy:ProFileselectionDocNameGet
Was this helpful?
This site works best with JavaScript enabled