One call made available by the DLL creates a bitmap images for a specified target device context. Bar2Db2 creates device dependent .
LPHANDLE WINAPI Bar2Db2(HDC hDC, HANDLE hInstance, LPSIZE lps, LPBAR2D bcCode, int imult, LPHANDLE hbm)
Where
HDC is the device context for which the bitmap is designed
hInstance is the Module handle of the calling application
lps is a size structure that specifies the size (in pixels, horizontal and vertical) of the desired bitmap.
bc is a BARCODE2D structure - the LPBAR2D cast is required.
iMult is a pixel-scaling factor that is not used in this release of the DLL and should be set to 0 or 1.
hbm is a HANDLE that will contain the handle of the bitmap image on return.
More: