Get rid of a few thousand useless TRACE lines.
[wine] / dlls / ttydrv / user.c
1 /*
2  * TTYDRV USER driver functions
3  *
4  * Copyright 1998 Patrik Stridvall
5  *
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.
10  *
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.
15  *
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
19  */
20
21 #include "config.h"
22
23 #include "dinput.h"
24 #include "gdi.h"
25 #include "ttydrv.h"
26 #include "wine/debug.h"
27
28 WINE_DEFAULT_DEBUG_CHANNEL(ttydrv);
29
30
31 /***********************************************************************
32  *              VkKeyScan (TTYDRV.@)
33  */
34 WORD TTYDRV_VkKeyScan(CHAR cChar)
35 {
36   return 0;
37 }
38
39 /***********************************************************************
40  *              MapVirtualKey (TTYDRV.@)
41  */
42 UINT16 TTYDRV_MapVirtualKey(UINT16 wCode, UINT16 wMapType)
43 {
44   return 0;
45 }
46
47 /***********************************************************************
48  *              GetKeyNameText (TTYDRV.@)
49  */
50 INT16 TTYDRV_GetKeyNameText( LONG lParam, LPSTR lpBuffer, INT16 nSize )
51 {
52   if(lpBuffer && nSize)
53     {
54       *lpBuffer = 0;
55     }
56   return 0;
57 }
58
59 /***********************************************************************
60  *              ToUnicode (TTYDRV.@)
61  */
62 INT TTYDRV_ToUnicode( UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
63                       LPWSTR pwszBuff, int cchBuff, UINT flags )
64 {
65   return 0;
66 }
67
68 /***********************************************************************
69  *              Beep (TTYDRV.@)
70  */
71 void TTYDRV_Beep(void)
72 {
73 }
74
75 /***********************************************************************
76  *              SetCursor (TTYDRV.@)
77  */
78 void TTYDRV_SetCursor( struct tagCURSORICONINFO *lpCursor )
79 {
80 }
81
82 /***********************************************************************
83  *              GetScreenSaveActive (TTYDRV.@)
84  *
85  * Returns the active status of the screen saver
86  */
87 BOOL TTYDRV_GetScreenSaveActive(void)
88 {
89     return FALSE;
90 }
91
92 /***********************************************************************
93  *              SetScreenSaveActive (TTYDRV.@)
94  *
95  * Activate/Deactivate the screen saver
96  */
97 void TTYDRV_SetScreenSaveActive(BOOL bActivate)
98 {
99     FIXME("(%d): stub\n", bActivate);
100 }
101
102 /***********************************************************************
103  *              AcquireClipboard (TTYDRV.@)
104  */
105 void TTYDRV_AcquireClipboard(void)
106 {
107 }
108
109 /***********************************************************************
110  *              ReleaseClipboard (TTYDRV.@)
111  */
112 void TTYDRV_ReleaseClipboard(void)
113 {
114 }
115
116 /***********************************************************************
117  *              SetClipboardData (TTYDRV.@)
118  */
119 void TTYDRV_SetClipboardData(UINT wFormat)
120 {
121 }
122
123 /***********************************************************************
124  *              GetClipboardData (TTYDRV.@)
125  */
126 BOOL TTYDRV_GetClipboardData(UINT wFormat)
127 {
128   return FALSE;
129 }
130
131 /***********************************************************************
132  *              IsClipboardFormatAvailable (TTYDRV.@)
133  */
134 BOOL TTYDRV_IsClipboardFormatAvailable(UINT wFormat)
135 {
136   return FALSE;
137 }
138
139 /**************************************************************************
140  *              RegisterClipboardFormat (TTYDRV.@)
141  *
142  * Registers a custom clipboard format
143  * Returns: TRUE - new format registered, FALSE - Format already registered
144  */
145 BOOL TTYDRV_RegisterClipboardFormat( LPCSTR FormatName )
146 {
147   return TRUE;
148 }
149
150 /**************************************************************************
151  *              IsSelectionOwner (TTYDRV.@)
152  *
153  * Returns: TRUE - We(WINE) own the selection, FALSE - Selection not owned by us
154  */
155 BOOL TTYDRV_IsSelectionOwner(void)
156 {
157     return FALSE;
158 }