Return the filename that would be or was created by an AmbMeasure or AmbCalculate function.

Parameters:

name:

The name of the AMB Split configuration section that is being calculated.

fileType:

The file type that was measured or calculated.

buffer:

The buffer to hold the filename.

bufferLen:

The length of the buffer to hold the filename.


Return Value:

The number of bytes put in the buffer (including the termination character).


Prototype Signature:

int AmbFilename(charambNameEAmbFileType fileTypecharbufferint bufferLen);


The functions AmbMeasure and AmbCalculate create a file whose filename will be specific to the type of measurement made combined with the name of the AMB Split configuration section. This function allows one to get the name that the file will have after the measurement or calculation.

See also EAmbFileType, EAmbMeasureType, and C# Defined Types.