mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
34 lines
852 B
C
34 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 */
|