Example
The following example shows how to determine if the OIA indicates that the keyboard has Caps Lock on.
//-------------------------------------------------------------------
// ECLOIA::IsCapsLock
//
// Determine status of connection 'A' OIA indicator
//-------------------------------------------------------------------
void Sample53() {
ECLOIA OIA('A'); // OIA object for connection A
if (OIA.IsCapsLock())
printf("CapsLock.\n");
else
printf("Not CapsLock.\n");
} // end sample