TBarCode Library 11  TBarCode Library 11
COLORREF _stdcall BCGetColorFromMetaData ( t_BarCode pBarCode,
INT  chMeta 
)

Converts a single meta character returned by BCGetMetaData into a corresponding color value.

If the given meta character is a placeholder for a color value, the corresponding RGB color value is returned. For all other meta characters the function returns the invalid color value BC_USEDEFAULT (0xFFFFFFFF)

See also:
BCSetFuncDrawRow() BCGetMetaData()
Parameters:
[in]pBarCodePointer to barcode structure.
[in]chMetaMeta character.
Return values:
COLORREFa valid color value if meta character stands for a color value or otherwise BC_USEDEFAULT (0xFFFFFFFF)