ras.h added szDeviceType pound defines
John Smith
xixsimplicityxix at gmail.com
Tue Jan 30 23:18:11 CST 2007
Skipped content of type multipart/alternative-------------- next part --------------
From d294ed7e538a130ac10fad4bb2ac6a0f93120060 Mon Sep 17 00:00:00 2001
From: John Klehm <xixsimplicityxix at gmail.com>
Date: Tue, 30 Jan 2007 15:24:56 -0600
Subject: [PATCH] Added additional szDeviceType pound defines. These additions reflect
http://msdn2.microsoft.com/en-us/library/aa377274.aspx
and have been verified by a test program on Windows2000 and XP.
---
include/ras.h | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/include/ras.h b/include/ras.h
index c1f6d5c..ef289f4 100644
--- a/include/ras.h
+++ b/include/ras.h
@@ -43,6 +43,25 @@ extern "C" {
#define RASDT_Modem "modem"
#define RASDT_Isdn "isdn"
#define RASDT_X25 "x25"
+/* more szDeviceType strings for RASDEVINFO
+ * from MSDN
+ * http://msdn2.microsoft.com/en-us/library/aa377274.aspx
+ * values taken from a test program on windows 2000 and XP
+ * Following are Windows 2000 and Windows XP values
+ * and above?
+ */
+#define RASDT_Vpn "vpn"
+#define RASDT_Pad "pad"
+#define RASDT_Generic "GENERIC"
+#define RASDT_Serial "SERIAL"
+#define RASDT_FrameRelay "FRAMERELAY"
+#define RASDT_Atm "ATM"
+#define RASDT_Sonet "SONET"
+#define RASDT_SW56 "SW56"
+#define RASDT_Irda "IRDA"
+#define RASDT_Parallel "PARALLEL"
+/* Windows XP values. And above? */
+#define RASDT_PPPoE "PPPoE"
#define RASBASE 600
#define ERROR_BUFFER_TOO_SMALL (RASBASE+3)
--
1.4.4.4
More information about the wine-patches
mailing list