GetBarcodeRegExpFormatFile

 

 

#include “BlackIceDEVMODE.h”

 

BOOL            GetBarcodeRegExpFormatFile (BlackIceDEVMODE* pDevMode, LPTSTR pValue, DWORD* pSize);

Description

Returns the file and path that contains the regular expression format used for the barcode generation. This file is used for the barcode generation if SetBarcodeValueSource is set to BARCODE_PAGE_CONTENT (1).

The regular expression used is returned by the GetRegularExpressionFile function.

If pValue is NULL or too small, the function returns FALSE, and pSize will contain the number of bytes required for storing the filename.

If the regular expression format file is not set or points to a nonexistent file, the whole text of the printed page is used for the barcode generation.

Parameters

BlackIceDEVMODE* pDevMode            - pointer to the BlackIceDEVMODE structure.

LPTSTR pValue                                          - pointer to the string

DWORD* pSize                                           - pointer to a variable that contains the length of pValue in bytes.

Return value

TRUE on success, otherwise FALSE.