OSDN Git Service

* include/ras.h (RASCONN[AW]): Guard szDeviceType,
authordannysmith <dannysmith>
Sat, 25 Jan 2003 00:41:45 +0000 (00:41 +0000)
committerdannysmith <dannysmith>
Sat, 25 Jan 2003 00:41:45 +0000 (00:41 +0000)
szDeviceName fields with WINVER >= 0x400. Add dwFlags, luid
fields for WINVER >= 0x501.

winsup/w32api/ChangeLog
winsup/w32api/include/ras.h

index 142083d..c946a7f 100644 (file)
@@ -1,3 +1,9 @@
+2003-01-24  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * include/ras.h (RASCONN[AW]): Guard szDeviceType,
+       szDeviceName fields with (WINVER >= 0x400). Add dwFlags, luid
+       fields for (WINVER >= 0x501).
+
 2003-01-23  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * lib/ws2_32.def (getaddrinfo, freeaddrinfo and getnameinfo):
index 43bbc25..db7c3c3 100644 (file)
@@ -222,8 +222,10 @@ typedef struct tagRASCONNW {
     DWORD dwSize;
     HRASCONN hrasconn;
     WCHAR szEntryName[RAS_MaxEntryName + 1];
+#if (WINVER >= 0x400) 
     WCHAR szDeviceType[RAS_MaxDeviceType + 1];
     WCHAR szDeviceName[RAS_MaxDeviceName + 1];
+#endif
 #if (WINVER >= 0x401)
     WCHAR szPhonebook[MAX_PATH];
     DWORD dwSubEntry;
@@ -231,14 +233,20 @@ typedef struct tagRASCONNW {
 #if (WINVER >= 0x500)
     GUID guidEntry;
 #endif
+#if (WINVER >= 0x501)
+    DWORD dwFlags;
+    LUID luid;
+#endif
 } RASCONNW, *LPRASCONNW;
 
 typedef struct tagRASCONNA {
     DWORD dwSize;
     HRASCONN hrasconn;
     CHAR szEntryName[RAS_MaxEntryName + 1];
+#if (WINVER >= 0x400) 
     CHAR szDeviceType[RAS_MaxDeviceType + 1];
     CHAR szDeviceName[RAS_MaxDeviceName + 1];
+#endif
 #if (WINVER >= 0x401)
     CHAR szPhonebook[MAX_PATH];
     DWORD dwSubEntry;
@@ -246,6 +254,10 @@ typedef struct tagRASCONNA {
 #if (WINVER >= 0x500)
     GUID guidEntry;
 #endif
+#if (WINVER >= 0x501)
+    DWORD dwFlags;
+    LUID luid;
+#endif
 } RASCONNA, *LPRASCONNA;
 
 typedef struct tagRASCONNSTATUSW {