VioGetState returns the current settings of the palette registers, overscan (border) color, blink/background intensity switch, color registers, underline location, or target VioSetMode display configuration.
#define INCL_VIO #include <os2.h> PVIOD RequestBlock; /* Request block. */ HVIO VioHandle; /* Reserved. Must be 0. */ APIRET rc; /* Return code. */ rc = VioGetState(RequestBlock, VioHandle);