- draws a high-resolution image generated from the string parameter using the current default barcode properties into the device context with the handle hDC.
int WINAPI BarCdh2(HDC hDC, LPSTR string ,LPPOINT lpPt,LPSIZE lpSize, int isteer)
where hDC is the Handle of the device context, string is a pointer to a character string containing the data to be placed in the barcode, lpPt is a pointer to a Point structure identifying the placement the top left hand corner of the image (HIMETRIC units), and lpSize is a pointer to a Size structure that may be used to specify the size of the image.
If isteer is non-zero the contents of lpSize are ignored on entry and the current default values are used for the image size. If isteer is zero then the size contents of lpSize overrides the current default values. In either case lpSize is filled by the routine so that the programmer can identify the size of the image created.
More: