[Wine-patches] [eterhack] [0006/0021] include: Add ddk/parallel.h.

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Ср Янв 28 21:10:03 MSK 2009


---
 include/ddk/parallel.h |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)
 create mode 100644 include/ddk/parallel.h

diff --git a/include/ddk/parallel.h b/include/ddk/parallel.h
new file mode 100644
index 0000000..d0b5eae
--- /dev/null
+++ b/include/ddk/parallel.h
@@ -0,0 +1,34 @@
+/*
+ * 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 _PARALLEL_
+#define _PARALLEL_
+
+typedef BOOLEAN (WINAPI *PPARALLEL_TRY_ALLOCATE_ROUTINE)(PVOID TryAllocateContext);
+typedef void (WINAPI *PPARALLEL_FREE_ROUTINE)(PVOID FreeContext);
+typedef ULONG (WINAPI *PPARALLEL_QUERY_WAITERS_ROUTINE)(PVOID QueryAllocsContext);
+
+typedef struct _PARALLEL_PORT_INFORMATION {
+    PHYSICAL_ADDRESS                OriginalController;
+    PUCHAR                          Controller;
+    ULONG                           SpanOfController;
+    PPARALLEL_TRY_ALLOCATE_ROUTINE  TryAllocatePort;
+    PPARALLEL_FREE_ROUTINE          FreePort;
+    PPARALLEL_QUERY_WAITERS_ROUTINE QueryNumWaiters;
+    PVOID                           Context;
+} PARALLEL_PORT_INFORMATION, *PPARALLEL_PORT_INFORMATION;
+
+#endif /* _PARALLEL_ */
-- 
1.6.0.2.GIT



Подробная информация о списке рассылки Wine-patches