Got rid of CLIENT_GetProcessInfo.
[wine/multimedia.git] / include / ttydrv.h
blob86cbee848722a70c9a66a9cd2e24359e9326cbfb
1 /*
2 * TTY driver definitions
3 */
5 #ifndef __WINE_TTYDRV_H
6 #define __WINE_TTYDRV_H
8 #include "clipboard.h"
9 #include "keyboard.h"
10 #include "message.h"
12 /* TTY clipboard driver */
14 extern CLIPBOARD_DRIVER TTYDRV_CLIPBOARD_Driver;
16 extern void TTYDRV_CLIPBOARD_EmptyClipboard();
17 extern void TTYDRV_CLIPBOARD_SetClipboardData(UINT32 wFormat);
18 extern BOOL32 TTYDRV_CLIPBOARD_RequestSelection();
19 extern void TTYDRV_CLIPBOARD_ResetOwner(WND *pWnd, BOOL32 bFooBar);
21 /* TTY event driver */
23 extern EVENT_DRIVER TTYDRV_EVENT_Driver;
25 extern BOOL32 TTYDRV_EVENT_Init(void);
26 extern void TTYDRV_EVENT_AddIO(int fd, unsigned flag);
27 extern void TTYDRV_EVENT_DeleteIO(int fd, unsigned flag);
28 extern BOOL32 TTYDRV_EVENT_WaitNetEvent(BOOL32 sleep, BOOL32 peek);
29 extern void TTYDRV_EVENT_Synchronize(void);
30 extern BOOL32 TTYDRV_EVENT_CheckFocus( void );
31 extern BOOL32 TTYDRV_EVENT_QueryPointer(DWORD *posX, DWORD *posY, DWORD *state);
32 extern void TTYDRV_EVENT_DummyMotionNotify(void);
33 extern BOOL32 TTYDRV_EVENT_Pending(void);
34 extern BOOL16 TTYDRV_EVENT_IsUserIdle(void);
36 /* TTY keyboard driver */
38 extern KEYBOARD_DRIVER TTYDRV_KEYBOARD_Driver;
40 extern void TTYDRV_KEYBOARD_Init(void);
41 extern WORD TTYDRV_KEYBOARD_VkKeyScan(CHAR cChar);
42 extern UINT16 TTYDRV_KEYBOARD_MapVirtualKey(UINT16 wCode, UINT16 wMapType);
43 extern INT16 TTYDRV_KEYBOARD_GetKeyNameText(LONG lParam, LPSTR lpBuffer, INT16 nSize);
44 extern INT16 TTYDRV_KEYBOARD_ToAscii(UINT16 virtKey, UINT16 scanCode, LPBYTE lpKeyState, LPVOID lpChar, UINT16 flags);
46 #endif /* !defined(__WINE_TTYDRV_H) */