It wasn't called GetAsyncKeyState back in the 3.1 days. In fact, back then it was easier to just hook the BIOS and called it complete .