source: trunk/include/win/msvcrt/conio.h@ 10367

Last change on this file since 10367 was 10004, checked in by sandervl, 22 years ago

PF: Header updates

File size: 1.3 KB
Line 
1/*
2 * Console I/O definitions
3 *
4 * Derived from the mingw header written by Colin Peters.
5 * Modified for Wine use by Jon Griffiths and Francois Gouget.
6 * This file is in the public domain.
7 */
8#ifndef __WINE_CONIO_H
9#define __WINE_CONIO_H
10#define __WINE_USE_MSVCRT
11
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17char* MSVCRT__cgets(char*);
18int MSVCRT__cprintf(const char*,...);
19int MSVCRT__cputs(const char*);
20int MSVCRT__cscanf(const char*,...);
21int MSVCRT__getch(void);
22int MSVCRT__getche(void);
23int _kbhit(void);
24int _putch(int);
25int MSVCRT__ungetch(int);
26
27#ifdef _M_IX86
28int _inp(unsigned short);
29unsigned long _inpd(unsigned short);
30unsigned short _inpw(unsigned short);
31int _outp(unsigned short, int);
32unsigned long _outpd(unsigned short, unsigned long);
33unsigned short _outpw(unsigned short, unsigned short);
34#endif
35
36#ifdef __cplusplus
37}
38#endif
39
40
41#ifndef USE_MSVCRT_PREFIX
42#define cgets _cgets
43#define cprintf _cprintf
44#define cputs _cputs
45#define cscanf _cscanf
46#define getch _getch
47#define getche _getche
48#define kbhit _kbhit
49#define putch _putch
50#define ungetch _ungetch
51#ifdef _M_IX86
52#define inp _inp
53#define inpw _inpw
54#define outp _outp
55#define outpw _outpw
56#endif
57#endif /* USE_MSVCRT_PREFIX */
58
59#endif /* __WINE_CONIO_H */
Note: See TracBrowser for help on using the repository browser.