Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help with DosDevIOCtl(..., IOCTL_KEYBOARD, KBD_SETINPUTMODE...)

9 views
Skip to first unread message

le...@primenet.com

unread,
Jul 29, 1996, 3:00:00 AM7/29/96
to

Does anyone have any example code that uses DosDevIOCtl and the
IOCTL_KEYBOARD Command, KBD_GETINPUTMODE function? I am trying
to block the effect of the pause key on a VIO program, and was
told that you could do this by putting the keyboard in BINARY mode.
I have two problems though, contrary to documentation and what
I have been told, so far it seems to be putting the keyboard in
BINARY mode for the whole system, and not just the current process,
secondly, I am unable to return it to ASCII mode. As a result,
as soon as my little EXE runs, the keyboard is no longer available
to the system. I have to use my mouse and shut-down the system and
reboot. One good thing though is that the PAUSE key is in fact
dis-abled.

If anyone has tried doing a DosDevIOCtl with these options, I would
appreciate any code samples or input.

Thanks
Leo Violette
le...@primenet.com
le...@syntellect.com

0 new messages