GetProjFileName (hprj, ifile)

Returns the name of the project file associated with index ifile in the project hprj.  

Each project has an index of project files, sorted by file name. GetProjFileName maps an index to a file name. File index values start at zero and go up to the count returned by GetProjFileCount.

This example interates through all project files:

ifileMax = GetProjFileCount (hprj)

ifile = 0

while (ifile < ifileMax)


   filename = GetProjFileName (hprj, ifile)


   ifile = ifile + 1