PA_GetDataName


version 2003


PA_GetDataName (dataName)

Parameter Type Description
dataName char * Pointer to a char buffer
Name of the data file

Description

The routine PA_GetDataName fills the data pointed to by dataName with the name of the current data file name. If the datafile uses many segments, the function returns the name of the first segment of the data file.

NOTE

This routine cannot return more than 80 characters in dataName , even if, under Windows, file names can be up to 255 characters. If the data file has such a length, it will be truncated.

See Also

PA_GetLogName , PA_GetStructureName .

Error Handling

PA_GetLastError

always returns eER_NoErr .