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
29 #include "wine/debug.h"
31 WINE_DEFAULT_DEBUG_CHANNEL(ttydrv
);
33 struct tagCURSORICONINFO
;
35 /***********************************************************************
36 * VkKeyScanEx (TTYDRV.@)
38 SHORT
TTYDRV_VkKeyScanEx(WCHAR cChar
, HKL hkl
)
43 /***********************************************************************
44 * MapVirtualKeyEx (TTYDRV.@)
46 UINT
TTYDRV_MapVirtualKeyEx(UINT wCode
, UINT wMapType
, HKL hkl
)
51 /***********************************************************************
52 * GetKeyNameText (TTYDRV.@)
54 INT
TTYDRV_GetKeyNameText( LONG lParam
, LPWSTR lpBuffer
, INT nSize
)
63 /***********************************************************************
64 * ToUnicodeEx (TTYDRV.@)
66 INT
TTYDRV_ToUnicodeEx( UINT virtKey
, UINT scanCode
, LPBYTE lpKeyState
,
67 LPWSTR pwszBuff
, int cchBuff
, UINT flags
, HKL hkl
)
72 /***********************************************************************
75 void TTYDRV_Beep(void)
79 /***********************************************************************
80 * SetCursor (TTYDRV.@)
82 void TTYDRV_SetCursor( struct tagCURSORICONINFO
*lpCursor
)
86 /***********************************************************************
87 * GetScreenSaveActive (TTYDRV.@)
89 * Returns the active status of the screen saver
91 BOOL
TTYDRV_GetScreenSaveActive(void)
96 /***********************************************************************
97 * SetScreenSaveActive (TTYDRV.@)
99 * Activate/Deactivate the screen saver
101 void TTYDRV_SetScreenSaveActive(BOOL bActivate
)
103 FIXME("(%d): stub\n", bActivate
);
106 /***********************************************************************
107 * AcquireClipboard (TTYDRV.@)
109 void TTYDRV_AcquireClipboard(void)
113 /***********************************************************************
114 * ReleaseClipboard (TTYDRV.@)
116 void TTYDRV_ReleaseClipboard(void)
120 /***********************************************************************
121 * SetClipboardData (TTYDRV.@)
123 void TTYDRV_SetClipboardData(UINT wFormat
)
127 /***********************************************************************
128 * GetClipboardData (TTYDRV.@)
130 BOOL
TTYDRV_GetClipboardData(UINT wFormat
)
135 /***********************************************************************
136 * IsClipboardFormatAvailable (TTYDRV.@)
138 BOOL
TTYDRV_IsClipboardFormatAvailable(UINT wFormat
)
143 /**************************************************************************
144 * RegisterClipboardFormat (TTYDRV.@)
146 * Registers a custom clipboard format
147 * Returns: TRUE - new format registered, FALSE - Format already registered
149 BOOL
TTYDRV_RegisterClipboardFormat( LPCSTR FormatName
)
154 /**************************************************************************
155 * IsSelectionOwner (TTYDRV.@)
157 * Returns: TRUE - We(WINE) own the selection, FALSE - Selection not owned by us
159 BOOL
TTYDRV_IsSelectionOwner(void)