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