Calls to Bar2Dfinf allow the user to interrogate the DLL to determine which graphics file types are supported by the Bar2Df calls (above).
Int WINAPI Bar2Dfinf(int I, LPSTR szWords, LPSTR szExtn)
where
I is the index number of the file type enquiry (starting at 0)
SzWords is the name of the file type returned (e.g. Windows Metafile (*.wmf)
SzExtn is the extension of the file type returned (e.g. *.wmf)
The function returns the value of I for supported indexes, but returns –1 for unsupported values of I.
More: