4 typedef struct _MONITOR
8 FAST_MUTEX Lock
; /* R/W lock */
9 UNICODE_STRING DeviceName
; /* name of the monitor */
10 PDEVOBJ
*GdiDevice
; /* pointer to the GDI device to
11 which this monitor is attached */
12 // This is the structure Windows uses:
13 // struct _MONITOR* pMonitorNext;
19 DWORD IsPrimary
:1; /* wether this is the primary monitor */
28 // BYTE DockTargets[4][7];
30 struct _MONITOR
* Next
; //Flink;
31 struct _MONITOR
* Prev
; //Blink;
38 InitMonitorImpl(VOID
);
39 NTSTATUS
CleanupMonitorImpl(VOID
);
41 NTSTATUS
IntAttachMonitor(PDEVOBJ
*pGdiDevice
, ULONG DisplayNumber
);
42 NTSTATUS
IntDetachMonitor(PDEVOBJ
*pGdiDevice
);
43 NTSTATUS
IntUpdateMonitorSize(IN PDEVOBJ
*pGdiDevice
);
44 PMONITOR FASTCALL
UserGetMonitorObject(IN HMONITOR
);
45 PMONITOR FASTCALL
IntGetPrimaryMonitor(VOID
);