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
25 #include "wine/debug.h"
27 WINE_DEFAULT_DEBUG_CHANNEL(ttydrv);
30 /***********************************************************************
31 * VkKeyScan (TTYDRV.@)
33 WORD TTYDRV_VkKeyScan(CHAR cChar)
38 /***********************************************************************
39 * MapVirtualKey (TTYDRV.@)
41 UINT16 TTYDRV_MapVirtualKey(UINT16 wCode, UINT16 wMapType)
46 /***********************************************************************
47 * GetKeyNameText (TTYDRV.@)
49 INT16 TTYDRV_GetKeyNameText( LONG lParam, LPSTR lpBuffer, INT16 nSize )
58 /***********************************************************************
59 * ToUnicode (TTYDRV.@)
61 INT TTYDRV_ToUnicode( UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
62 LPWSTR pwszBuff, int cchBuff, UINT flags )
67 /***********************************************************************
70 void TTYDRV_Beep(void)
74 /***********************************************************************
75 * SetCursor (TTYDRV.@)
77 void TTYDRV_SetCursor( struct tagCURSORICONINFO *lpCursor )
81 /***********************************************************************
82 * GetScreenSaveActive (TTYDRV.@)
84 * Returns the active status of the screen saver
86 BOOL TTYDRV_GetScreenSaveActive(void)
91 /***********************************************************************
92 * SetScreenSaveActive (TTYDRV.@)
94 * Activate/Deactivate the screen saver
96 void TTYDRV_SetScreenSaveActive(BOOL bActivate)
98 FIXME("(%d): stub\n", bActivate);
101 /***********************************************************************
102 * AcquireClipboard (TTYDRV.@)
104 void TTYDRV_AcquireClipboard(void)
108 /***********************************************************************
109 * ReleaseClipboard (TTYDRV.@)
111 void TTYDRV_ReleaseClipboard(void)
115 /***********************************************************************
116 * SetClipboardData (TTYDRV.@)
118 void TTYDRV_SetClipboardData(UINT wFormat)
122 /***********************************************************************
123 * GetClipboardData (TTYDRV.@)
125 BOOL TTYDRV_GetClipboardData(UINT wFormat)
130 /***********************************************************************
131 * IsClipboardFormatAvailable (TTYDRV.@)
133 BOOL TTYDRV_IsClipboardFormatAvailable(UINT wFormat)
138 /**************************************************************************
139 * RegisterClipboardFormat (TTYDRV.@)
141 * Registers a custom clipboard format
142 * Returns: TRUE - new format registered, FALSE - Format already registered
144 BOOL TTYDRV_RegisterClipboardFormat( LPCSTR FormatName )
149 /**************************************************************************
150 * IsSelectionOwner (TTYDRV.@)
152 * Returns: TRUE - We(WINE) own the selection, FALSE - Selection not owned by us
154 BOOL TTYDRV_IsSelectionOwner(void)