cbLogGetFileName()

Returns the name of the nth file in the directory containing binary log files.

Function Prototype

C/C++

int cbLogGetFileName(int FileNumber, char* Path, char* Filename)

Visual Basic

Function cbLogGetFileName(ByVal FileNum&, ByVal Path$, ByVal Filename$) As Long

Arguments

FileNumber

Index of the file whose name you want to return. Specify one of the following:

This parameter is the index of the file in the directory, and is not part of the filename.

Path

The full path to the directory containing the binary file. The path must be NULL terminated, and cannot be longer than 256 characters.

Filename

A NULL terminated string containing the full path to the file.

Returns

Notes