The BarFont call generates a barcode string using the x parameter as the data and the current default barcode properties. The barcode string is then saved in the file specified by the fully qualified filename specified in the name parameter.
VB declaration
Declare Function BarFonts Lib "DFONT32.DLL" (ByVal x As String, ByVal name As String ) As Long
C declaration
int WINAPI BarFonts(LPSTR szin, LPSTR szfname);
More: