Category Creo Parametric fundamentals, Object ProFilename

Function ProFilenameParse


DEPRECATED: Since Creo 3
SUPERSEDED BY: ProFileMdlnameParse
Description
Note: This function is deprecated Use ProFileMdlnameParse instead. Parses the specified file name into its components.
Synopsis
#include <ProUtil.h>
ProErrorProFilenameParse(
ProPath file_name_w_path
/* (In)
The full file name, composed of the path, name, extension, and version.
*/
ProPath r_path
/* (Out)
The directory path. This argument is optional (can be NULL).
*/
ProName r_file_name
/* (Out)
The file name. This argument is optional (can be NULL). Free this argument using ProWstringFree.
*/
ProName r_extension
/* (Out)
The file extension. This argument is optional (can be NULL). Free this argument using ProWstringFree.
*/
int* r_version
/* (Out)
The file version. This argument is optional (can be NULL).
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully parsed the file name.
PRO_TK_BAD_INPUTSThe specified file name was invalid.

Manual References:

  1. Working with Multi-CAD Models Using Creo Unite: Superseded Functions
  2. Technical Summary of Changes for Creo 4.0 F000: File Handling