Function ProFileSaveRegister
Description
Register a file type in the 'File->Save a Copy' dialog interface of Creo Parametric.
NOTE: The ProFileSave API opens a standard file dialog. ProFileSaveRegister does not work with this API.
Replacement in Object TOOLKIT:
Synopsis
#include <ProUtil.h>
ProFileSaveRegister
(
wchar_t* file_type
/* (In)
File type
*/
wchar_t* file_description
/* (In)
Short description of the file.
*/
/* (In)
File Access function; NULL is always available
*/
/* (In)
Action on selection of the file type
*/
ProAppData app_data
/* (In)
The application data, may be NULL
*/
)
Returns
File type is registered in the dialog.
One or more input arguments was invalid.
Couldn't allocate memory for new type.
Already registered by this app.
Failed to register type.
The function is not available in Design Test Mode.
Sample Code References
User Guide References
¿Fue esto útil?