The GetBarName function gets the barcode font name and barcode font height (in points) that become the current default settings
VB declaration
Declare Function GetBarName Lib "DFONT32.DLL" (ByVal name As String, ByRef ht As Long ) As Long
Note that Strings that are to receive characters must be created before the function is called and must contain sufficient space to receive the characters (eg. Name=String(36,vbNullChar))
C declaration
int WINAPI GetBarName(LPSTR foname, LPINT foht);
The foname pointer must point to a char array that is large enough to receive the font facename (24 characters).
More: