|
C_GetFileCreatorVersion |
Call C_GetFileCreatorVersion to find out which version of OrcaFlex wrote a data file or simulation file. The file of interest is specified by the lpFileName parameter and the version is returned as a string in lpVersion.
int C_GetFileCreatorVersion(
LPCTSTR lpFileName,
LPTSTR lpVersion,
int *lpStatus
);
Points to a null-terminated string containing the name of a data file or simulation file.
Points to a block of memory to receive the version string. The block of memory must be large enough for the version string. To find out how much memory to allocate call C_GetFileCreatorVersion passing NULL as the lpVersion parameter and use the return value to determine how much memory to allocate.
Points to a variable in which the status result for the function call will be returned.
The length of the version string (including the null-terminating character).
The Unicode function name is C_GetFileCreatorVersionW and the ANSI function name is C_GetFileCreatorVersionA.