I connected a knob to my PC through parallel port.I have used status port to read digital inputs (A,B,Mark) from knobs.I want to call a function(like interrupt service routine) as soon as a new entry has been found in status port.I don't want to use polling method using timer(as minimum timer interval is 55 ms).In serial port I used the below said function to face this type condition.
InstallComCallback (Comport, LWRS_RXCHAR, 1, 0, ComCallback, NULL);
Please suggest.