Marcel Partap : include: Add winddiui.h header.

Alexandre Julliard julliard at winehq.org
Fri Nov 2 08:10:23 CDT 2007


Module: wine
Branch: master
Commit: 91b3eac2f21d7b2f531b120f6e9aa8646c8a9295
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=91b3eac2f21d7b2f531b120f6e9aa8646c8a9295

Author: Marcel Partap <mpartap at gmx.net>
Date:   Thu Nov  1 19:12:19 2007 +0100

include: Add winddiui.h header.

---

 include/Makefile.in    |    1 +
 include/ddk/winddiui.h |   50 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+), 0 deletions(-)

diff --git a/include/Makefile.in b/include/Makefile.in
index 7ae17d7..9835f09 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -125,6 +125,7 @@ SRCDIR_INCLUDES = \
 	ddk/ntddser.h \
 	ddk/ntddtape.h \
 	ddk/wdm.h \
+	ddk/winddiui.h \
 	ddk/winsplp.h \
 	ddraw.h \
 	ddrawi.h \
diff --git a/include/ddk/winddiui.h b/include/ddk/winddiui.h
new file mode 100644
index 0000000..7c6e775
--- /dev/null
+++ b/include/ddk/winddiui.h
@@ -0,0 +1,50 @@
+/*
+ *  Header for the Device Driver Interface - User Interface library
+ *
+ *  Copyright 2007 Marcel Partap
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifndef __WINE_WINDDIUI_H
+#define __WINE_WINDDIUI_H
+
+#include <ddk/compstui.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define DRIVER_EVENT_INITIALIZE 1
+#define DRIVER_EVENT_DELETE 2
+
+#define PRINTER_EVENT_ADD_CONNECTION 1
+#define PRINTER_EVENT_DELETE_CONNECTION 2
+#define PRINTER_EVENT_INITIALIZE 3
+#define PRINTER_EVENT_DELETE 4
+#define PRINTER_EVENT_CACHE_REFRESH 5
+#define PRINTER_EVENT_CACHE_DELETE 6
+#define PRINTER_EVENT_ATTRIBUTES_CHANGED 7
+
+#define PRINTER_EVENT_FLAG_NO_UI 1
+
+BOOL WINAPI DrvDriverEvent(DWORD, DWORD, LPBYTE, LPARAM);
+BOOL WINAPI DrvPrinterEvent(LPWSTR, INT, DWORD, LPARAM);
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+#endif /* __WINE_WINDDIUI_H */




More information about the wine-cvs mailing list