#include <os2win.h>
#include <misc.h>
#include <string.h>
#include <heapstring.h>
#include "pmwindow.h"
#include "monitor.h"
#include "windef.h"
#include "dbglocal.h"
Include dependency graph for display.cpp:
Go to the source code of this file.
Defines | |
#define | DBG_LOCALLOG DBG_display |
#define | NRMODES 5 |
#define | NRDEPTHS 4 |
#define | xPRIMARY_MONITOR ((HMONITOR)0x12340042) |
Functions | |
void | PMDRV_MONITOR_Initialize (MONITOR *pMonitor) |
void | PMDRV_MONITOR_Finalize (MONITOR *pMonitor) |
BOOL | PMDRV_MONITOR_IsSingleWindow (MONITOR *pMonitor) |
int | PMDRV_MONITOR_GetWidth (MONITOR *pMonitor) |
int | PMDRV_MONITOR_GetHeight (MONITOR *pMonitor) |
int | PMDRV_MONITOR_GetDepth (MONITOR *pMonitor) |
BOOL | PMDRV_MONITOR_GetScreenSaveActive (MONITOR *pMonitor) |
void | PMDRV_MONITOR_SetScreenSaveActive (MONITOR *pMonitor, BOOL bActivate) |
int | PMDRV_MONITOR_GetScreenSaveTimeout (MONITOR *pMonitor) |
void | PMDRV_MONITOR_SetScreenSaveTimeout (MONITOR *pMonitor, int nTimeout) |
MONITOR * | MONITOR_GetMonitor (HMONITOR hMonitor) |
void | MONITOR_Initialize (MONITOR *pMonitor) |
void | MONITOR_Finalize (MONITOR *pMonitor) |
BOOL | MONITOR_IsSingleWindow (MONITOR *pMonitor) |
int | MONITOR_GetWidth (MONITOR *pMonitor) |
int | MONITOR_GetHeight (MONITOR *pMonitor) |
int | MONITOR_GetDepth (MONITOR *pMonitor) |
BOOL | MONITOR_GetScreenSaveActive (MONITOR *pMonitor) |
void | MONITOR_SetScreenSaveActive (MONITOR *pMonitor, BOOL bActivate) |
int | MONITOR_GetScreenSaveTimeout (MONITOR *pMonitor) |
void | MONITOR_SetScreenSaveTimeout (MONITOR *pMonitor, int nTimeout) |
BOOL WIN32API | EnumDisplaySettingsA (LPCSTR name, DWORD n, LPDEVMODEA devmode) |
BOOL WIN32API | EnumDisplaySettingsW (LPCWSTR name, DWORD n, LPDEVMODEW devmode) |
LONG WIN32API | ChangeDisplaySettingsA (LPDEVMODEA lpDevMode, DWORD dwFlags) |
LONG WIN32API | ChangeDisplaySettingsW (LPDEVMODEW lpDevMode, DWORD dwFlags) |
LONG WIN32API | ChangeDisplaySettingsExA (LPCSTR devname, LPDEVMODEA lpDevMode, HWND hwnd, DWORD dwFlags, LPARAM lparam) |
LONG WIN32API | ChangeDisplaySettingsExW (LPCWSTR devname, LPDEVMODEW lpDevMode, HWND hwnd, DWORD dwFlags, LPARAM lparam) |
BOOL WIN32API | GetMonitorInfoA (HMONITOR hMonitor, LPMONITORINFO lpMonitorInfo) |
BOOL WIN32API | GetMonitorInfoW (HMONITOR hMonitor, LPMONITORINFO lpMonitorInfo) |
HMONITOR WIN32API | MonitorFromWindow (HWND hWnd, DWORD dwFlags) |
HMONITOR WIN32API | MonitorFromRect (LPRECT lprcScreenCoords, DWORD dwFlags) |
HMONITOR WIN32API | MonitorFromPoint (POINT ptScreenCoords, DWORD dwFlags) |
BOOL WIN32API | EnumDisplayMonitors (HDC hdcOptionalForPainting, LPRECT lprcEnumMonitorsThatIntersect, MONITORENUMPROC lpfnEnumProc, LPARAM dwData) |
BOOL WINAPI | EnumDisplayDevicesA (LPVOID unused, DWORD i, LPDISPLAY_DEVICEA lpDisplayDevice, DWORD dwFlags) |
BOOL WINAPI | EnumDisplayDevicesW (LPVOID unused, DWORD i, LPDISPLAY_DEVICEW lpDisplayDevice, DWORD dwFlags) |
Variables | |
{ ... } | modes |
int | depths [4] = {8,16,24,32} |
MONITOR | MONITOR_PrimaryMonitor |
MONITOR_DRIVER | PM_MONITOR_Driver |
MONITOR_DRIVER * | MONITOR_Driver = &PM_MONITOR_Driver |
|
Definition at line 24 of file display.cpp. |
|
Definition at line 27 of file display.cpp. |
|
Definition at line 28 of file display.cpp. |
|
Definition at line 37 of file display.cpp. |
|
Definition at line 46 of file display.cpp. |
|
Definition at line 56 of file display.cpp. |
|
Definition at line 64 of file display.cpp. |
|
Definition at line 76 of file display.cpp. |
|
Definition at line 88 of file display.cpp. |
|
Definition at line 100 of file display.cpp. |
|
Definition at line 112 of file display.cpp. |
|
Definition at line 124 of file display.cpp. |
|
Definition at line 134 of file display.cpp. |
|
Definition at line 146 of file display.cpp. |
|
Definition at line 171 of file display.cpp. |
|
Definition at line 186 of file display.cpp. Referenced by inittermUser32().
|
|
Definition at line 194 of file display.cpp. Referenced by cleanupUser32().
|
|
Definition at line 202 of file display.cpp. |
|
Definition at line 210 of file display.cpp. |
|
Definition at line 218 of file display.cpp. |
|
Definition at line 226 of file display.cpp. |
|
Definition at line 234 of file display.cpp. |
|
Definition at line 242 of file display.cpp. |
|
Definition at line 250 of file display.cpp. |
|
Definition at line 258 of file display.cpp. |
|
Definition at line 280 of file display.cpp. Referenced by EnumDisplaySettingsW().
|
|
Definition at line 331 of file display.cpp. |
|
Definition at line 354 of file display.cpp. Referenced by ChangeDisplaySettingsW().
|
|
Definition at line 388 of file display.cpp. |
|
Definition at line 400 of file display.cpp. Referenced by ChangeDisplaySettingsExW().
|
|
Definition at line 419 of file display.cpp. |
|
Definition at line 432 of file display.cpp. |
|
Definition at line 460 of file display.cpp. |
|
Definition at line 488 of file display.cpp. |
|
Definition at line 509 of file display.cpp. Referenced by MonitorFromWindow().
|
|
Definition at line 526 of file display.cpp. |
|
Definition at line 544 of file display.cpp. |
|
Definition at line 603 of file display.cpp. |
|
Definition at line 622 of file display.cpp. |
|
Definition at line 30 of file display.cpp. |
|
Definition at line 30 of file display.cpp. |
|
|
|
Definition at line 32 of file display.cpp. |
|
Definition at line 39 of file display.cpp. |
|
|
Definition at line 166 of file display.cpp. |