Commit in reactos/subsys/win32k/include on MAIN
monitor.h+30added 1.1
Simple implementation of some multi-monitor APIs.

reactos/subsys/win32k/include
monitor.h added at 1.1
diff -N monitor.h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ monitor.h	16 Nov 2004 17:22:08 -0000	1.1
@@ -0,0 +1,30 @@
+#ifndef _WIN32K_MONITOR_H
+#define _WIN32K_MONITOR_H
+
+#include <windows.h>
+
+struct GDIDEVICE;
+
+/* monitor object */
+typedef struct _MONITOR_OBJECT
+{
+	HANDLE         Handle;     /* system object handle */
+	FAST_MUTEX     Lock;       /* R/W lock */
+
+	BOOL           IsPrimary;  /* wether this is the primary monitor */
+	UNICODE_STRING DeviceName; /* name of the monitor */
+	GDIDEVICE     *GdiDevice;  /* pointer to the GDI device to
+	                              which this monitor is attached */
+	struct _MONITOR_OBJECT *Prev, *Next; /* doubly linked list */
+} MONITOR_OBJECT, *PMONITOR_OBJECT;
+
+/* functions */
+NTSTATUS InitMonitorImpl();
+NTSTATUS CleanupMonitorImpl();
+
+NTSTATUS IntAttachMonitor(GDIDEVICE *pGdiDevice, ULONG DisplayNumber);
+NTSTATUS IntDetachMonitor(GDIDEVICE *pGdiDevice);
+
+#endif /* _WIN32K_MONITOR_H */
+
+/* EOF */
CVSspam 0.2.8