2000-08-10 03:16:19 +02:00
|
|
|
/*
|
|
|
|
* TTYDRV USER driver functions
|
|
|
|
*
|
|
|
|
* Copyright 1998 Patrik Stridvall
|
2002-03-10 00:29:33 +01:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
2000-08-10 03:16:19 +02:00
|
|
|
*/
|
|
|
|
|
2001-11-06 21:57:11 +01:00
|
|
|
#include "config.h"
|
|
|
|
|
2003-09-06 01:08:26 +02:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
#include "windef.h"
|
|
|
|
#include "winbase.h"
|
2000-08-10 03:16:19 +02:00
|
|
|
#include "dinput.h"
|
|
|
|
#include "ttydrv.h"
|
2002-03-10 00:29:33 +01:00
|
|
|
#include "wine/debug.h"
|
2000-08-10 03:16:19 +02:00
|
|
|
|
2002-03-10 00:29:33 +01:00
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(ttydrv);
|
2000-08-10 03:16:19 +02:00
|
|
|
|
2002-12-03 20:18:41 +01:00
|
|
|
struct tagCURSORICONINFO;
|
2000-08-10 03:16:19 +02:00
|
|
|
|
|
|
|
/***********************************************************************
|
2003-11-14 04:32:43 +01:00
|
|
|
* VkKeyScanEx (TTYDRV.@)
|
2000-08-10 03:16:19 +02:00
|
|
|
*/
|
2003-11-14 04:32:43 +01:00
|
|
|
SHORT TTYDRV_VkKeyScanEx(WCHAR cChar, HKL hkl)
|
2000-08-10 03:16:19 +02:00
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
2003-11-14 04:32:43 +01:00
|
|
|
* MapVirtualKeyEx (TTYDRV.@)
|
2000-08-10 03:16:19 +02:00
|
|
|
*/
|
2003-11-14 04:32:43 +01:00
|
|
|
UINT TTYDRV_MapVirtualKeyEx(UINT wCode, UINT wMapType, HKL hkl)
|
2000-08-10 03:16:19 +02:00
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-07-02 21:59:40 +02:00
|
|
|
* GetKeyNameText (TTYDRV.@)
|
2000-08-10 03:16:19 +02:00
|
|
|
*/
|
2003-11-14 04:32:43 +01:00
|
|
|
INT TTYDRV_GetKeyNameText( LONG lParam, LPWSTR lpBuffer, INT nSize )
|
2002-06-01 01:06:46 +02:00
|
|
|
{
|
2000-08-10 03:16:19 +02:00
|
|
|
if(lpBuffer && nSize)
|
|
|
|
{
|
|
|
|
*lpBuffer = 0;
|
|
|
|
}
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
2003-11-14 04:32:43 +01:00
|
|
|
* ToUnicodeEx (TTYDRV.@)
|
2000-08-10 03:16:19 +02:00
|
|
|
*/
|
2003-11-14 04:32:43 +01:00
|
|
|
INT TTYDRV_ToUnicodeEx( UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
|
|
|
|
LPWSTR pwszBuff, int cchBuff, UINT flags, HKL hkl )
|
2000-08-10 03:16:19 +02:00
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-07-02 21:59:40 +02:00
|
|
|
* Beep (TTYDRV.@)
|
2000-08-10 03:16:19 +02:00
|
|
|
*/
|
|
|
|
void TTYDRV_Beep(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-07-02 21:59:40 +02:00
|
|
|
* SetCursor (TTYDRV.@)
|
2000-08-10 03:16:19 +02:00
|
|
|
*/
|
|
|
|
void TTYDRV_SetCursor( struct tagCURSORICONINFO *lpCursor )
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-07-02 21:59:40 +02:00
|
|
|
* GetScreenSaveActive (TTYDRV.@)
|
2000-08-10 03:16:19 +02:00
|
|
|
*
|
|
|
|
* Returns the active status of the screen saver
|
|
|
|
*/
|
|
|
|
BOOL TTYDRV_GetScreenSaveActive(void)
|
|
|
|
{
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-07-02 21:59:40 +02:00
|
|
|
* SetScreenSaveActive (TTYDRV.@)
|
2000-08-10 03:16:19 +02:00
|
|
|
*
|
|
|
|
* Activate/Deactivate the screen saver
|
|
|
|
*/
|
|
|
|
void TTYDRV_SetScreenSaveActive(BOOL bActivate)
|
|
|
|
{
|
|
|
|
FIXME("(%d): stub\n", bActivate);
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-07-02 21:59:40 +02:00
|
|
|
* AcquireClipboard (TTYDRV.@)
|
2000-08-10 03:16:19 +02:00
|
|
|
*/
|
|
|
|
void TTYDRV_AcquireClipboard(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-07-02 21:59:40 +02:00
|
|
|
* ReleaseClipboard (TTYDRV.@)
|
2000-08-10 03:16:19 +02:00
|
|
|
*/
|
|
|
|
void TTYDRV_ReleaseClipboard(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-07-02 21:59:40 +02:00
|
|
|
* SetClipboardData (TTYDRV.@)
|
2000-08-10 03:16:19 +02:00
|
|
|
*/
|
|
|
|
void TTYDRV_SetClipboardData(UINT wFormat)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-07-02 21:59:40 +02:00
|
|
|
* GetClipboardData (TTYDRV.@)
|
2000-08-10 03:16:19 +02:00
|
|
|
*/
|
|
|
|
BOOL TTYDRV_GetClipboardData(UINT wFormat)
|
|
|
|
{
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
2001-07-02 21:59:40 +02:00
|
|
|
* IsClipboardFormatAvailable (TTYDRV.@)
|
2000-08-10 03:16:19 +02:00
|
|
|
*/
|
|
|
|
BOOL TTYDRV_IsClipboardFormatAvailable(UINT wFormat)
|
|
|
|
{
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************************************************************
|
2001-07-02 21:59:40 +02:00
|
|
|
* RegisterClipboardFormat (TTYDRV.@)
|
2000-08-10 03:16:19 +02:00
|
|
|
*
|
|
|
|
* Registers a custom clipboard format
|
|
|
|
* Returns: TRUE - new format registered, FALSE - Format already registered
|
|
|
|
*/
|
|
|
|
BOOL TTYDRV_RegisterClipboardFormat( LPCSTR FormatName )
|
|
|
|
{
|
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************************************************************
|
2001-07-02 21:59:40 +02:00
|
|
|
* IsSelectionOwner (TTYDRV.@)
|
2000-08-10 03:16:19 +02:00
|
|
|
*
|
|
|
|
* Returns: TRUE - We(WINE) own the selection, FALSE - Selection not owned by us
|
|
|
|
*/
|
|
|
|
BOOL TTYDRV_IsSelectionOwner(void)
|
|
|
|
{
|
|
|
|
return FALSE;
|
|
|
|
}
|