2 * TTYDRV USER driver functions
4 * Copyright 1998 Patrik Stridvall
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
30 #include "wine/debug.h"
32 WINE_DEFAULT_DEBUG_CHANNEL(ttydrv);
34 struct tagCURSORICONINFO;
36 /***********************************************************************
37 * VkKeyScan (TTYDRV.@)
39 WORD TTYDRV_VkKeyScan(CHAR cChar)
44 /***********************************************************************
45 * MapVirtualKey (TTYDRV.@)
47 UINT16 TTYDRV_MapVirtualKey(UINT16 wCode, UINT16 wMapType)
52 /***********************************************************************
53 * GetKeyNameText (TTYDRV.@)
55 INT16 TTYDRV_GetKeyNameText( LONG lParam, LPSTR lpBuffer, INT16 nSize )
64 /***********************************************************************
65 * ToUnicode (TTYDRV.@)
67 INT TTYDRV_ToUnicode( UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
68 LPWSTR pwszBuff, int cchBuff, UINT flags )
73 /***********************************************************************
76 void TTYDRV_Beep(void)
80 /***********************************************************************
81 * SetCursor (TTYDRV.@)
83 void TTYDRV_SetCursor( struct tagCURSORICONINFO *lpCursor )
87 /***********************************************************************
88 * GetScreenSaveActive (TTYDRV.@)
90 * Returns the active status of the screen saver
92 BOOL TTYDRV_GetScreenSaveActive(void)
97 /***********************************************************************
98 * SetScreenSaveActive (TTYDRV.@)
100 * Activate/Deactivate the screen saver
102 void TTYDRV_SetScreenSaveActive(BOOL bActivate)
104 FIXME("(%d): stub\n", bActivate);
107 /***********************************************************************
108 * AcquireClipboard (TTYDRV.@)
110 void TTYDRV_AcquireClipboard(void)
114 /***********************************************************************
115 * ReleaseClipboard (TTYDRV.@)
117 void TTYDRV_ReleaseClipboard(void)
121 /***********************************************************************
122 * SetClipboardData (TTYDRV.@)
124 void TTYDRV_SetClipboardData(UINT wFormat)
128 /***********************************************************************
129 * GetClipboardData (TTYDRV.@)
131 BOOL TTYDRV_GetClipboardData(UINT wFormat)
136 /***********************************************************************
137 * IsClipboardFormatAvailable (TTYDRV.@)
139 BOOL TTYDRV_IsClipboardFormatAvailable(UINT wFormat)
144 /**************************************************************************
145 * RegisterClipboardFormat (TTYDRV.@)
147 * Registers a custom clipboard format
148 * Returns: TRUE - new format registered, FALSE - Format already registered
150 BOOL TTYDRV_RegisterClipboardFormat( LPCSTR FormatName )
155 /**************************************************************************
156 * IsSelectionOwner (TTYDRV.@)
158 * Returns: TRUE - We(WINE) own the selection, FALSE - Selection not owned by us
160 BOOL TTYDRV_IsSelectionOwner(void)