| Description | |||||||||||||||||
| Register a file type with the 'File -> Open' dialog interface of Creo Parametric.
NOTE: The ProFileMdlnameOpen OR ProFileMdlfiletypeOpen API opens a standard file dialog. ProFileOpenRegister does not work with this API. |
|||||||||||||||||
| Replacement in Object TOOLKIT: | pfcBaseSession::UIRegisterFileOpen | ||||||||||||||||
| Synopsis | |||||||||||||||||
| #include <ProUtil.h> | |||||||||||||||||
| ProError | ProFileOpenRegister | ( | |||||||||||||||
| wchar_t* file_type | |||||||||||||||||
| /* (In) | |||||||||||||||||
| File type | |||||||||||||||||
| */ | |||||||||||||||||
| wchar_t* file_description | |||||||||||||||||
| /* (In) | |||||||||||||||||
| Short description of the file. | |||||||||||||||||
| */ | |||||||||||||||||
| ProFileOpenAccessFunction access_function | |||||||||||||||||
| /* (In) | |||||||||||||||||
| File Access function; NULL is always available | |||||||||||||||||
| */ | |||||||||||||||||
| ProFileOpenOperationAction oper_action | |||||||||||||||||
| /* (In) | |||||||||||||||||
| Action on selection of the file type | |||||||||||||||||
| */ | |||||||||||||||||
| ProAppData app_data | |||||||||||||||||
| /* (In) | |||||||||||||||||
| The application data, may be NULL | |||||||||||||||||
| */ | |||||||||||||||||
| ) | |||||||||||||||||
| Returns | |||||||||||||||||
|
|||||||||||||||||