[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-patches
Subject: include: Add winddiui.h header (corrected DRIVER_EVENT_INITIALIZE
From: Marcel Partap <mpartap () gmx ! net>
Date: 2007-10-31 20:19:56
Message-ID: 4728E36C.1000003 () gmx ! net
[Download RAW message or body]
this should be correct now. sorry detlef for not checking first :s
["0001-include-Add-winddiui.h-header.patch" (text/plain)]
From 3a9173419390d4c5c89831b40edc390df134572a Mon Sep 17 00:00:00 2001
From: Marcel Partap <mpartap@gmx.net>
Date: Wed, 31 Oct 2007 21:14:42 +0100
Subject: [PATCH] include: Add winddiui.h header.
declare DrvDriverEvent and DrvPrinterEvent required for AddPrinterDriverEx and AddPrinter
(corrected DRIVER_EVENT_INITIALIZE constant)
---
include/Makefile.in | 1 +
include/winddiui.h | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+), 0 deletions(-)
create mode 100644 include/winddiui.h
diff --git a/include/Makefile.in b/include/Makefile.in
index 7ae17d7..491982b 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -368,6 +368,7 @@ SRCDIR_INCLUDES = \
wincon.h \
wincred.h \
wincrypt.h \
+ winddiui.h \
windef.h \
windns.h \
windows.h \
diff --git a/include/winddiui.h b/include/winddiui.h
new file mode 100644
index 0000000..a06fc58
--- /dev/null
+++ b/include/winddiui.h
@@ -0,0 +1,53 @@
+/*
+ * 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
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define DDKAPI WINAPI
+
+#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 DDKAPI DrvDriverEvent(DWORD, DWORD, LPBYTE, LPARAM);
+BOOL DDKAPI DrvPrinterEvent(LPWSTR, INT, DWORD, LPARAM);
+
+typedef BOOL DDKAPI (*PFN_DrvDriverEvent)(DWORD, DWORD, LPBYTE, LPARAM);
+typedef BOOL DDKAPI (*PFN_DrvPrinterEvent)(LPWSTR, INT, DWORD, LPARAM);
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+#endif /* __WINE_WINDDIUI_H */
--
1.5.3.4
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic