2 * TTYDRV USER driver functions
4 * Copyright 1998 Patrik Stridvall
10 #include "debugtools.h"
12 DEFAULT_DEBUG_CHANNEL(ttydrv);
15 /***********************************************************************
16 * VkKeyScan (TTYDRV.@)
18 WORD TTYDRV_VkKeyScan(CHAR cChar)
23 /***********************************************************************
24 * MapVirtualKey (TTYDRV.@)
26 UINT16 TTYDRV_MapVirtualKey(UINT16 wCode, UINT16 wMapType)
31 /***********************************************************************
32 * GetKeyNameText (TTYDRV.@)
34 INT16 TTYDRV_GetKeyNameText( LONG lParam, LPSTR lpBuffer, INT16 nSize )
43 /***********************************************************************
44 * ToUnicode (TTYDRV.@)
46 INT TTYDRV_ToUnicode( UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
47 LPWSTR pwszBuff, int cchBuff, UINT flags )
52 /***********************************************************************
55 void TTYDRV_Beep(void)
59 /***********************************************************************
60 * SetCursor (TTYDRV.@)
62 void TTYDRV_SetCursor( struct tagCURSORICONINFO *lpCursor )
66 /***********************************************************************
67 * GetScreenSaveActive (TTYDRV.@)
69 * Returns the active status of the screen saver
71 BOOL TTYDRV_GetScreenSaveActive(void)
76 /***********************************************************************
77 * SetScreenSaveActive (TTYDRV.@)
79 * Activate/Deactivate the screen saver
81 void TTYDRV_SetScreenSaveActive(BOOL bActivate)
83 FIXME("(%d): stub\n", bActivate);
86 /***********************************************************************
87 * GetScreenSaveTimeout (TTYDRV.@)
89 * Return the screen saver timeout
91 int TTYDRV_GetScreenSaveTimeout(void)
96 /***********************************************************************
97 * SetScreenSaveTimeout (TTYDRV.@)
99 * Set the screen saver timeout
101 void TTYDRV_SetScreenSaveTimeout(int nTimeout)
103 FIXME("(%d): stub\n", nTimeout);
106 /**********************************************************************
107 * LoadOEMResource (TTYDRV.@)
109 HANDLE TTYDRV_LoadOEMResource(WORD resid, WORD type)
115 hbitmap = CreateBitmap(1, 1, 1, 1, NULL);
116 TTYDRV_DC_CreateBitmap(hbitmap);
122 ERR("unknown type (%d)\n", type);
127 /***********************************************************************
128 * AcquireClipboard (TTYDRV.@)
130 void TTYDRV_AcquireClipboard(void)
134 /***********************************************************************
135 * ReleaseClipboard (TTYDRV.@)
137 void TTYDRV_ReleaseClipboard(void)
141 /***********************************************************************
142 * SetClipboardData (TTYDRV.@)
144 void TTYDRV_SetClipboardData(UINT wFormat)
148 /***********************************************************************
149 * GetClipboardData (TTYDRV.@)
151 BOOL TTYDRV_GetClipboardData(UINT wFormat)
156 /***********************************************************************
157 * IsClipboardFormatAvailable (TTYDRV.@)
159 BOOL TTYDRV_IsClipboardFormatAvailable(UINT wFormat)
164 /**************************************************************************
165 * RegisterClipboardFormat (TTYDRV.@)
167 * Registers a custom clipboard format
168 * Returns: TRUE - new format registered, FALSE - Format already registered
170 BOOL TTYDRV_RegisterClipboardFormat( LPCSTR FormatName )
175 /**************************************************************************
176 * IsSelectionOwner (TTYDRV.@)
178 * Returns: TRUE - We(WINE) own the selection, FALSE - Selection not owned by us
180 BOOL TTYDRV_IsSelectionOwner(void)