2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2004-11-16 17:25:47 +00:00
|
|
|
|
2011-12-14 04:07:06 +00:00
|
|
|
/* Monitor object */
|
2010-01-11 07:36:48 +00:00
|
|
|
typedef struct _MONITOR
|
2004-11-16 17:25:47 +00:00
|
|
|
{
|
2010-01-11 07:36:48 +00:00
|
|
|
HEAD head;
|
2011-10-19 15:40:17 +00:00
|
|
|
struct _MONITOR* pMonitorNext;
|
|
|
|
union
|
|
|
|
{
|
|
|
|
DWORD dwMONFlags;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
DWORD IsVisible: 1;
|
|
|
|
DWORD IsPalette: 1;
|
2011-12-14 04:07:06 +00:00
|
|
|
DWORD IsPrimary: 1; /* Whether this is the primary monitor */
|
2011-10-19 15:40:17 +00:00
|
|
|
};
|
|
|
|
};
|
2009-06-25 02:43:38 +00:00
|
|
|
RECT rcMonitor;
|
|
|
|
RECT rcWork;
|
2010-01-11 07:36:48 +00:00
|
|
|
HRGN hrgnMonitor;
|
2011-10-18 23:01:29 +00:00
|
|
|
SHORT cFullScreen;
|
2010-01-11 07:36:48 +00:00
|
|
|
SHORT cWndStack;
|
|
|
|
HDEV hDev;
|
|
|
|
} MONITOR, *PMONITOR;
|
2004-11-16 17:25:47 +00:00
|
|
|
|
2012-02-20 13:23:32 +00:00
|
|
|
NTSTATUS NTAPI UserAttachMonitor(IN HDEV hDev);
|
|
|
|
NTSTATUS NTAPI UserDetachMonitor(HDEV hDev);
|
|
|
|
NTSTATUS NTAPI UserUpdateMonitorSize(IN HDEV hDev);
|
|
|
|
PMONITOR NTAPI UserGetMonitorObject(IN HMONITOR);
|
|
|
|
PMONITOR NTAPI UserGetPrimaryMonitor(VOID);
|
|
|
|
PMONITOR NTAPI UserMonitorFromRect(PRECTL,DWORD);
|
2014-04-13 23:53:34 +00:00
|
|
|
PMONITOR FASTCALL UserMonitorFromPoint(POINT,DWORD);
|
2004-11-16 17:25:47 +00:00
|
|
|
|
|
|
|
/* EOF */
|