The BarAsk function display a dialog box that allows the required barcode properties to be set and the font used to display/print the barcode to be selected. When the OK button is pushed the barcode properties (except the barcode data) selected become the default barcode properties for future barcodes generated by calls to the BarFont functions (see below).
The barcode data may be displayed in the dialog's data window by passing the data as the text parameter, and the data window may be enable for editing by setting the bEnable parameter to a non-zero value. If bEnable is non-zero then the text data displayed in the dialog may be edited and the text parameter contains the modified data if the dialog is closed by pushing its OK button.

VB declaration
Declare Function BarAsk Lib "DFONT32.DLL" (ByVal text As String, ByRef bEnable As Long, ) As Long
C declaration
int WINAPI BarAsk( LPSTR data, LPINT bEnable);
More: