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;
35 NTSTATUS
InitMonitorImpl();
36 NTSTATUS
CleanupMonitorImpl();
38 NTSTATUS
IntAttachMonitor(PDEVOBJ
*pGdiDevice
, ULONG DisplayNumber
);
39 NTSTATUS
IntDetachMonitor(PDEVOBJ
*pGdiDevice
);
40 PMONITOR FASTCALL
UserGetMonitorObject(IN HMONITOR
);
41 PMONITOR FASTCALL
IntGetPrimaryMonitor(VOID
);