DOS/32 Advanced DOS Extender - D32A C/C++ Run-Time Library Reference



3.03 - DOS/32 Advanced D32A Library function - d32a_getkey()

Synopsys:

#include <d32a.h>
unsigned char d32a_getkey(void);


Description:

The function d32a_getkey waits for a keystroke to occur in a continuous loop, returning to the caller when a key has been pressed.


Returns:

This function returns an ASCII code of the key that had been pressed. Additionally, it sets two variables: _kbrd_asciicode and _kbrd_scancode with an ASCII code (the same as returned value) and a keyboard scan code respective.

 


Copyright © DOS/32 Advanced Team 1996-2002
All Rights Reserved