Synopsis

PDX_BOOL ugn_GetFileName(long option, char *file_in, char *file_ext, char *file_out)

Purpose

Get the output file name from the input file name

Description

Generate the output file name based on the input file name. If the input file has an extension, the extension is removed. The file_ext extension is added to the input file name to create the output file name

Input

option

Options (not used)

file_in

Name of the intput file

file_ext

The extension to apply to the input file name

Output

file_out

Name of the output file

Return

PDX_TRUE if output file name generated, PDX_FALSE otherwise