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
26 #include "wine/debug.h"
28 WINE_DEFAULT_DEBUG_CHANNEL(ttydrv
);
30 struct tagCURSORICONINFO
;
32 /***********************************************************************
33 * VkKeyScan (TTYDRV.@)
35 WORD
TTYDRV_VkKeyScan(CHAR cChar
)
40 /***********************************************************************
41 * MapVirtualKey (TTYDRV.@)
43 UINT16
TTYDRV_MapVirtualKey(UINT16 wCode
, UINT16 wMapType
)
48 /***********************************************************************
49 * GetKeyNameText (TTYDRV.@)
51 INT16
TTYDRV_GetKeyNameText( LONG lParam
, LPSTR lpBuffer
, INT16 nSize
)
60 /***********************************************************************
61 * ToUnicode (TTYDRV.@)
63 INT
TTYDRV_ToUnicode( UINT virtKey
, UINT scanCode
, LPBYTE lpKeyState
,
64 LPWSTR pwszBuff
, int cchBuff
, UINT flags
)
69 /***********************************************************************
72 void TTYDRV_Beep(void)
76 /***********************************************************************
77 * SetCursor (TTYDRV.@)
79 void TTYDRV_SetCursor( struct tagCURSORICONINFO
*lpCursor
)
83 /***********************************************************************
84 * GetScreenSaveActive (TTYDRV.@)
86 * Returns the active status of the screen saver
88 BOOL
TTYDRV_GetScreenSaveActive(void)
93 /***********************************************************************
94 * SetScreenSaveActive (TTYDRV.@)
96 * Activate/Deactivate the screen saver
98 void TTYDRV_SetScreenSaveActive(BOOL bActivate
)
100 FIXME("(%d): stub\n", bActivate
);
103 /***********************************************************************
104 * AcquireClipboard (TTYDRV.@)
106 void TTYDRV_AcquireClipboard(void)
110 /***********************************************************************
111 * ReleaseClipboard (TTYDRV.@)
113 void TTYDRV_ReleaseClipboard(void)
117 /***********************************************************************
118 * SetClipboardData (TTYDRV.@)
120 void TTYDRV_SetClipboardData(UINT wFormat
)
124 /***********************************************************************
125 * GetClipboardData (TTYDRV.@)
127 BOOL
TTYDRV_GetClipboardData(UINT wFormat
)
132 /***********************************************************************
133 * IsClipboardFormatAvailable (TTYDRV.@)
135 BOOL
TTYDRV_IsClipboardFormatAvailable(UINT wFormat
)
140 /**************************************************************************
141 * RegisterClipboardFormat (TTYDRV.@)
143 * Registers a custom clipboard format
144 * Returns: TRUE - new format registered, FALSE - Format already registered
146 BOOL
TTYDRV_RegisterClipboardFormat( LPCSTR FormatName
)
151 /**************************************************************************
152 * IsSelectionOwner (TTYDRV.@)
154 * Returns: TRUE - We(WINE) own the selection, FALSE - Selection not owned by us
156 BOOL
TTYDRV_IsSelectionOwner(void)