mirror of
https://github.com/reactos/reactos.git
synced 2024-08-29 22:58:34 +00:00
35 lines
852 B
C
35 lines
852 B
C
#pragma once
|
|
|
|
/* Monitor object */
|
|
typedef struct _MONITOR
|
|
{
|
|
HEAD head;
|
|
struct _MONITOR* pMonitorNext;
|
|
union
|
|
{
|
|
DWORD dwMONFlags;
|
|
struct
|
|
{
|
|
DWORD IsVisible: 1;
|
|
DWORD IsPalette: 1;
|
|
DWORD IsPrimary: 1; /* Whether this is the primary monitor */
|
|
};
|
|
};
|
|
RECT rcMonitor;
|
|
RECT rcWork;
|
|
HRGN hrgnMonitor;
|
|
SHORT cFullScreen;
|
|
SHORT cWndStack;
|
|
HDEV hDev;
|
|
} MONITOR, *PMONITOR;
|
|
|
|
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);
|
|
PMONITOR FASTCALL UserMonitorFromPoint(POINT,DWORD);
|
|
|
|
/* EOF */
|