2 * TTYDRV USER driver functions
4 * Copyright 1998 Patrik Stridvall
12 #include "debugtools.h"
14 DEFAULT_DEBUG_CHANNEL(ttydrv);
17 /***********************************************************************
18 * VkKeyScan (TTYDRV.@)
20 WORD TTYDRV_VkKeyScan(CHAR cChar)
25 /***********************************************************************
26 * MapVirtualKey (TTYDRV.@)
28 UINT16 TTYDRV_MapVirtualKey(UINT16 wCode, UINT16 wMapType)
33 /***********************************************************************
34 * GetKeyNameText (TTYDRV.@)
36 INT16 TTYDRV_GetKeyNameText( LONG lParam, LPSTR lpBuffer, INT16 nSize )
45 /***********************************************************************
46 * ToUnicode (TTYDRV.@)
48 INT TTYDRV_ToUnicode( UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
49 LPWSTR pwszBuff, int cchBuff, UINT flags )
54 /***********************************************************************
57 void TTYDRV_Beep(void)
61 /***********************************************************************
62 * SetCursor (TTYDRV.@)
64 void TTYDRV_SetCursor( struct tagCURSORICONINFO *lpCursor )
68 /***********************************************************************
69 * GetScreenSaveActive (TTYDRV.@)
71 * Returns the active status of the screen saver
73 BOOL TTYDRV_GetScreenSaveActive(void)
78 /***********************************************************************
79 * SetScreenSaveActive (TTYDRV.@)
81 * Activate/Deactivate the screen saver
83 void TTYDRV_SetScreenSaveActive(BOOL bActivate)
85 FIXME("(%d): stub\n", bActivate);
88 /**********************************************************************
89 * LoadOEMResource (TTYDRV.@)
91 HANDLE TTYDRV_LoadOEMResource(WORD resid, WORD type)
97 hbitmap = CreateBitmap(1, 1, 1, 1, NULL);
98 TTYDRV_DC_CreateBitmap(hbitmap);
104 ERR("unknown type (%d)\n", type);
109 /***********************************************************************
110 * AcquireClipboard (TTYDRV.@)
112 void TTYDRV_AcquireClipboard(void)
116 /***********************************************************************
117 * ReleaseClipboard (TTYDRV.@)
119 void TTYDRV_ReleaseClipboard(void)
123 /***********************************************************************
124 * SetClipboardData (TTYDRV.@)
126 void TTYDRV_SetClipboardData(UINT wFormat)
130 /***********************************************************************
131 * GetClipboardData (TTYDRV.@)
133 BOOL TTYDRV_GetClipboardData(UINT wFormat)
138 /***********************************************************************
139 * IsClipboardFormatAvailable (TTYDRV.@)
141 BOOL TTYDRV_IsClipboardFormatAvailable(UINT wFormat)
146 /**************************************************************************
147 * RegisterClipboardFormat (TTYDRV.@)
149 * Registers a custom clipboard format
150 * Returns: TRUE - new format registered, FALSE - Format already registered
152 BOOL TTYDRV_RegisterClipboardFormat( LPCSTR FormatName )
157 /**************************************************************************
158 * IsSelectionOwner (TTYDRV.@)
160 * Returns: TRUE - We(WINE) own the selection, FALSE - Selection not owned by us
162 BOOL TTYDRV_IsSelectionOwner(void)