Category Creo Parametric fundamentals, Object ProFile

Callback ProFileSaveAccessFunction


Description
Callback function to decide if the file type should be selectable in File 'Save a Copy' dialog or not.
Synopsis
#include <ProUtil.h>
ProBoolean(*ProFileSaveAccessFunction)(
wchar_t* file_type
/* (In)
File type
*/
ProMdl model
/* (In)
The handle of the model being saved
*/
ProAppData app_data
/* (In)
The application data
*/
)
Returns
PRO_B_TRUEFile type should be added in the file dialog.
PRO_B_FALSEFile type should not be added in the the dialog.

Manual References:

  1. Core: Utilities: File Handling