Desktop Functions: Smart Device Functions:
|
kbhit (msvcrt)
C# Signature:
[DllImport("msvcrt.dll", CallingConvention=CallingConvention.Cdecl)] abc VB Signature:
<DllImport("msvcrt.dll", CallingConvention:=CallingConvention.Cdecl)> _ User-Defined Types:None. Notes:None. Tips & Tricks:Please add some! Sample Code:// Wait until the user presses a key. while (!kbhit()); Alternative Managed API:This is in the .NET 2.0 Console class functions System.Console.KeyAvailable() or System.Console.ReadKey(). System.Console.KeyAvailable() - Gets a value indicating whether a key press is available in the input stream. (Nonblocking) System.Console.ReadKey() - Obtains the next character or function key pressed by the user. Allows for both echoing key to screen or not. Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|