wine-wine/dlls/ttydrv/user.c

164 lines
4.0 KiB
C
Raw Normal View History

/*
* TTYDRV USER driver functions
*
* Copyright 1998 Patrik Stridvall
*
* 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
*/
#include "config.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "dinput.h"
#include "gdi.h"
#include "ttydrv.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(ttydrv);
struct tagCURSORICONINFO;
/***********************************************************************
2001-07-02 19:59:40 +00:00
* VkKeyScan (TTYDRV.@)
*/
WORD TTYDRV_VkKeyScan(CHAR cChar)
{
return 0;
}
/***********************************************************************
2001-07-02 19:59:40 +00:00
* MapVirtualKey (TTYDRV.@)
*/
UINT16 TTYDRV_MapVirtualKey(UINT16 wCode, UINT16 wMapType)
{
return 0;
}
/***********************************************************************
2001-07-02 19:59:40 +00:00
* GetKeyNameText (TTYDRV.@)
*/
INT16 TTYDRV_GetKeyNameText( LONG lParam, LPSTR lpBuffer, INT16 nSize )
2002-05-31 23:06:46 +00:00
{
if(lpBuffer && nSize)
{
*lpBuffer = 0;
}
return 0;
}
/***********************************************************************
2001-07-02 19:59:40 +00:00
* ToUnicode (TTYDRV.@)
*/
INT TTYDRV_ToUnicode( UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
LPWSTR pwszBuff, int cchBuff, UINT flags )
{
return 0;
}
/***********************************************************************
2001-07-02 19:59:40 +00:00
* Beep (TTYDRV.@)
*/
void TTYDRV_Beep(void)
{
}
/***********************************************************************
2001-07-02 19:59:40 +00:00
* SetCursor (TTYDRV.@)
*/
void TTYDRV_SetCursor( struct tagCURSORICONINFO *lpCursor )
{
}
/***********************************************************************
2001-07-02 19:59:40 +00:00
* GetScreenSaveActive (TTYDRV.@)
*
* Returns the active status of the screen saver
*/
BOOL TTYDRV_GetScreenSaveActive(void)
{
return FALSE;
}
/***********************************************************************
2001-07-02 19:59:40 +00:00
* SetScreenSaveActive (TTYDRV.@)
*
* Activate/Deactivate the screen saver
*/
void TTYDRV_SetScreenSaveActive(BOOL bActivate)
{
FIXME("(%d): stub\n", bActivate);
}
/***********************************************************************
2001-07-02 19:59:40 +00:00
* AcquireClipboard (TTYDRV.@)
*/
void TTYDRV_AcquireClipboard(void)
{
}
/***********************************************************************
2001-07-02 19:59:40 +00:00
* ReleaseClipboard (TTYDRV.@)
*/
void TTYDRV_ReleaseClipboard(void)
{
}
/***********************************************************************
2001-07-02 19:59:40 +00:00
* SetClipboardData (TTYDRV.@)
*/
void TTYDRV_SetClipboardData(UINT wFormat)
{
}
/***********************************************************************
2001-07-02 19:59:40 +00:00
* GetClipboardData (TTYDRV.@)
*/
BOOL TTYDRV_GetClipboardData(UINT wFormat)
{
return FALSE;
}
/***********************************************************************
2001-07-02 19:59:40 +00:00
* IsClipboardFormatAvailable (TTYDRV.@)
*/
BOOL TTYDRV_IsClipboardFormatAvailable(UINT wFormat)
{
return FALSE;
}
/**************************************************************************
2001-07-02 19:59:40 +00:00
* RegisterClipboardFormat (TTYDRV.@)
*
* Registers a custom clipboard format
* Returns: TRUE - new format registered, FALSE - Format already registered
*/
BOOL TTYDRV_RegisterClipboardFormat( LPCSTR FormatName )
{
return TRUE;
}
/**************************************************************************
2001-07-02 19:59:40 +00:00
* IsSelectionOwner (TTYDRV.@)
*
* Returns: TRUE - We(WINE) own the selection, FALSE - Selection not owned by us
*/
BOOL TTYDRV_IsSelectionOwner(void)
{
return FALSE;
}