From cd4e1e512fe4ee418cfb01c5b3f6f66f7b255f8d Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 18 Jul 2005 15:25:13 +0000 Subject: [PATCH] Remove some no longer needed stub functions. --- dlls/ttydrv/Makefile.in | 1 - dlls/ttydrv/user.c | 162 ----------------------------------- dlls/ttydrv/winetty.drv.spec | 15 ---- 3 files changed, 178 deletions(-) delete mode 100644 dlls/ttydrv/user.c diff --git a/dlls/ttydrv/Makefile.in b/dlls/ttydrv/Makefile.in index b7bfff6b617..8f58c004d36 100644 --- a/dlls/ttydrv/Makefile.in +++ b/dlls/ttydrv/Makefile.in @@ -13,7 +13,6 @@ C_SRCS = \ objects.c \ palette.c \ ttydrv_main.c \ - user.c \ wnd.c @MAKE_DLL_RULES@ diff --git a/dlls/ttydrv/user.c b/dlls/ttydrv/user.c deleted file mode 100644 index 736a8dd1e5b..00000000000 --- a/dlls/ttydrv/user.c +++ /dev/null @@ -1,162 +0,0 @@ -/* - * 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 - -#include "windef.h" -#include "winbase.h" -#include "dinput.h" -#include "ttydrv.h" -#include "wine/debug.h" - -WINE_DEFAULT_DEBUG_CHANNEL(ttydrv); - -struct tagCURSORICONINFO; - -/*********************************************************************** - * VkKeyScanEx (TTYDRV.@) - */ -SHORT TTYDRV_VkKeyScanEx(WCHAR cChar, HKL hkl) -{ - return 0; -} - -/*********************************************************************** - * MapVirtualKeyEx (TTYDRV.@) - */ -UINT TTYDRV_MapVirtualKeyEx(UINT wCode, UINT wMapType, HKL hkl) -{ - return 0; -} - -/*********************************************************************** - * GetKeyNameText (TTYDRV.@) - */ -INT TTYDRV_GetKeyNameText( LONG lParam, LPWSTR lpBuffer, INT nSize ) -{ - if(lpBuffer && nSize) - { - *lpBuffer = 0; - } - return 0; -} - -/*********************************************************************** - * ToUnicodeEx (TTYDRV.@) - */ -INT TTYDRV_ToUnicodeEx( UINT virtKey, UINT scanCode, LPBYTE lpKeyState, - LPWSTR pwszBuff, int cchBuff, UINT flags, HKL hkl ) -{ - return 0; -} - -/*********************************************************************** - * Beep (TTYDRV.@) - */ -void TTYDRV_Beep(void) -{ -} - -/*********************************************************************** - * SetCursor (TTYDRV.@) - */ -void TTYDRV_SetCursor( struct tagCURSORICONINFO *lpCursor ) -{ -} - -/*********************************************************************** - * GetScreenSaveActive (TTYDRV.@) - * - * Returns the active status of the screen saver - */ -BOOL TTYDRV_GetScreenSaveActive(void) -{ - return FALSE; -} - -/*********************************************************************** - * SetScreenSaveActive (TTYDRV.@) - * - * Activate/Deactivate the screen saver - */ -void TTYDRV_SetScreenSaveActive(BOOL bActivate) -{ - FIXME("(%d): stub\n", bActivate); -} - -/*********************************************************************** - * AcquireClipboard (TTYDRV.@) - */ -void TTYDRV_AcquireClipboard(void) -{ -} - -/*********************************************************************** - * ReleaseClipboard (TTYDRV.@) - */ -void TTYDRV_ReleaseClipboard(void) -{ -} - -/*********************************************************************** - * SetClipboardData (TTYDRV.@) - */ -void TTYDRV_SetClipboardData(UINT wFormat) -{ -} - -/*********************************************************************** - * GetClipboardData (TTYDRV.@) - */ -BOOL TTYDRV_GetClipboardData(UINT wFormat) -{ - return FALSE; -} - -/*********************************************************************** - * IsClipboardFormatAvailable (TTYDRV.@) - */ -BOOL TTYDRV_IsClipboardFormatAvailable(UINT wFormat) -{ - return FALSE; -} - -/************************************************************************** - * RegisterClipboardFormat (TTYDRV.@) - * - * Registers a custom clipboard format - * Returns: TRUE - new format registered, FALSE - Format already registered - */ -BOOL TTYDRV_RegisterClipboardFormat( LPCSTR FormatName ) -{ - return TRUE; -} - -/************************************************************************** - * IsSelectionOwner (TTYDRV.@) - * - * Returns: TRUE - We(WINE) own the selection, FALSE - Selection not owned by us - */ -BOOL TTYDRV_IsSelectionOwner(void) -{ - return FALSE; -} diff --git a/dlls/ttydrv/winetty.drv.spec b/dlls/ttydrv/winetty.drv.spec index 4077ffbf848..525d2928722 100644 --- a/dlls/ttydrv/winetty.drv.spec +++ b/dlls/ttydrv/winetty.drv.spec @@ -36,24 +36,9 @@ # USER driver -@ cdecl VkKeyScanEx(long long) TTYDRV_VkKeyScanEx -@ cdecl MapVirtualKeyEx(long long long) TTYDRV_MapVirtualKeyEx -@ cdecl GetKeyNameText(long ptr long) TTYDRV_GetKeyNameText -@ cdecl ToUnicodeEx(long long ptr ptr long long long) TTYDRV_ToUnicodeEx -@ cdecl Beep() TTYDRV_Beep -@ cdecl SetCursor(ptr) TTYDRV_SetCursor -@ cdecl GetScreenSaveActive() TTYDRV_GetScreenSaveActive -@ cdecl SetScreenSaveActive(long) TTYDRV_SetScreenSaveActive @ cdecl CreateDesktopWindow(long) TTYDRV_CreateDesktopWindow @ cdecl CreateWindow(long ptr long) TTYDRV_CreateWindow @ cdecl DestroyWindow(long) TTYDRV_DestroyWindow @ cdecl GetDC(long long long long) TTYDRV_GetDC @ cdecl SetWindowPos(ptr) TTYDRV_SetWindowPos -@ cdecl AcquireClipboard() TTYDRV_AcquireClipboard -@ cdecl ReleaseClipboard() TTYDRV_ReleaseClipboard -@ cdecl SetClipboardData(long) TTYDRV_SetClipboardData -@ cdecl GetClipboardData(long) TTYDRV_GetClipboardData -@ cdecl IsClipboardFormatAvailable(long) TTYDRV_IsClipboardFormatAvailable -@ cdecl RegisterClipboardFormat(str) TTYDRV_RegisterClipboardFormat -@ cdecl IsSelectionOwner() TTYDRV_IsSelectionOwner @ cdecl ShowWindow(long long) TTYDRV_ShowWindow