#include “BlackIceDEVMODE.h”
BOOL SetBarcodeType (BlackIceDEVMODE* pDevMode, DWORD dwType);
Description
Sets the barcode type used for barcode generation. QR, Datamatrix, PDF417 and linear barcode types are supported. If linear (1D) barcode type is selected, the linear barcode standard can be specified using the Set1DBarcodeSubtype function.
Parameters
BlackIceDEVMODE* pDevMode - pointer to the BlackIceDEVMODE structure
DWORD dwType - the type of the barcode.
Can be one of the values of the BarcodeType enumeration:
enum BarcodeType
{
BARCODE_QR = 0, // 0
BARCODE_DATAMATRIX, // 1
BARCODE_PDF417, // 2
BARCODE_1D // 3
};
Return value
TRUE on success, FALSE otherwise.