Bugfix: LOAD_DLL_DEBUG_EVENT lpImageName parameter was incorrect.
[wine/testsucceed.git] / windows / ttydrv / desktop.c
blobd6c7bee4508052e47d5760a0ccc7498bac60d30a
1 /*
2 * TTY desktop driver
4 * Copyright 1998,1999 Patrik Stridvall
6 */
8 #include "desktop.h"
9 #include "monitor.h"
10 #include "ttydrv.h"
12 /***********************************************************************
13 * TTYDRV_DESKTOP_Initialize
15 void TTYDRV_DESKTOP_Initialize(DESKTOP *pDesktop)
19 /***********************************************************************
20 * TTYDRV_DESKTOP_Finalize
22 void TTYDRV_DESKTOP_Finalize(DESKTOP *pDesktop)
26 /***********************************************************************
27 * TTYDRV_DESKTOP_GetScreenWidth
29 * Return the width of the screen associated to the desktop.
31 int TTYDRV_DESKTOP_GetScreenWidth(DESKTOP *pDesktop)
33 return MONITOR_GetWidth(pDesktop->pPrimaryMonitor);
36 /***********************************************************************
37 * TTYDRV_DESKTOP_GetScreenHeight
39 * Return the width of the screen associated to the desktop.
41 int TTYDRV_DESKTOP_GetScreenHeight(DESKTOP *pDesktop)
43 return MONITOR_GetHeight(pDesktop->pPrimaryMonitor);
46 /***********************************************************************
47 * TTYDRV_DESKTOP_GetScreenDepth
49 * Return the depth of the screen associated to the desktop.
51 int TTYDRV_DESKTOP_GetScreenDepth(DESKTOP *pDesktop)
53 return MONITOR_GetDepth(pDesktop->pPrimaryMonitor);