Available in the LEADTOOLS Imaging toolkit.
BooleanValue example for C++ 5.0 and later
ILEADRasterVariant_U * pltRasVar=NULL; pltRasVar->Type = VALUE_BOOLEAN; pltRasVar->BooleanValue = TRUE;