- generates a enhanced metafile image from a data string using the current default barcode properties and places the image on the clipboard.
int WINAPI BarCdc(LPSTR string,LPRECT lpRectin,int isteer)
where string is a pointer to a character string containing the data to be placed in the barcode, lpRectin is a pointer to a RECT structure that may contain the HIMETRIC coordinates of the barcode image and isteer is an integer flag.
If isteer is non-zero the contents of lpRectin are ignored on entry and the current default values are used. If isteer is zero then the size contents of lpRectin overrides the current default values. In either case lpRectin is filled by the routine so that the programmer can identify the size of the image created
The function returns 0 if successful, or an error code in the event of a barcode creation error. After an error the ErrorMess function may be called to obtain a text version of the error code.
Visual Basic declaration:
Private Declare Function BarCdc Lib "Dlsbar32" (ByVal x As String, ByRef rc As Rect2, ByVal isteer As Long) As Long
More: