1 #ifndef _WIN32K_MONITOR_H
2 #define _WIN32K_MONITOR_H
7 typedef struct _MONITOR_OBJECT
9 HANDLE Handle
; /* system object handle */
10 FAST_MUTEX Lock
; /* R/W lock */
12 BOOL IsPrimary
; /* wether this is the primary monitor */
13 UNICODE_STRING DeviceName
; /* name of the monitor */
14 PDEVOBJ
*GdiDevice
; /* pointer to the GDI device to
15 which this monitor is attached */
16 struct _MONITOR_OBJECT
*Prev
, *Next
; /* doubly linked list */
18 // This is the structure Windows uses:
20 // struct _MONITOR_OBJECT *pMonitorNext;
29 // BYTE DockTargets[4][7];
30 // struct _MONITOR_OBJECT* Flink;
31 // struct _MONITOR_OBJECT* Blink;
32 } MONITOR_OBJECT
, *PMONITOR_OBJECT
;
35 NTSTATUS
InitMonitorImpl();
36 NTSTATUS
CleanupMonitorImpl();
38 NTSTATUS
IntAttachMonitor(PDEVOBJ
*pGdiDevice
, ULONG DisplayNumber
);
39 NTSTATUS
IntDetachMonitor(PDEVOBJ
*pGdiDevice
);
40 PMONITOR_OBJECT FASTCALL
UserGetMonitorObject(IN HMONITOR
);
42 #endif /* _WIN32K_MONITOR_H */