Shell32 patch 8

Martin Fuchs martin-fuchs at gmx.net
Sat Jan 17 09:24:20 CST 2004


Changelog:
- declare PT_RAS_FOLDER for the "RAS Connections" folder
- handle PT_RAS_FOLDER and PT_NETPROVIDER in debugging functions and
  _ILGetTextPointer() / _ILGetSTextPointer()


Index: pidl.h
===================================================================
RCS file: /home/wine/wine/dlls/shell32/pidl.h,v
retrieving revision 1.32
diff -u -p -d -r1.32 pidl.h
--- pidl.h	6 Jan 2004 22:08:34 -0000	1.32
+++ pidl.h	17 Jan 2004 15:23:45 -0000
@@ -100,6 +100,7 @@
 #define PT_NETPROVIDER  0x46
 #define PT_NETWORK	0x47
 #define PT_IESPECIAL1	0x61
+#define PT_RAS_FOLDER	0x70
 #define PT_IESPECIAL2	0xb1
 #define PT_SHARE	0xc3

Index: debughlp.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/debughlp.c,v
retrieving revision 1.9
diff -u -p -d -r1.9 debughlp.c
--- debughlp.c	5 Sep 2003 23:08:31 -0000	1.9
+++ debughlp.c	17 Jan 2004 15:23:44 -0000
@@ -83,6 +83,7 @@ LPSTR _dbg_ILGetTextPointer(LPCITEMIDLIS
 	    case PT_FOLDER1:
 	    case PT_VALUE:
 	    case PT_IESPECIAL1:
+	    case PT_RAS_FOLDER:
 	    case PT_IESPECIAL2:
 	      return (LPSTR)&(pdata->u.file.szNames);
 
@@ -108,6 +109,7 @@ LPSTR _dbg_ILGetSTextPointer(LPCITEMIDLI
 	    case PT_FOLDER:
 	    case PT_VALUE:
 	    case PT_IESPECIAL1:
+	    case PT_RAS_FOLDER:
 	    case PT_IESPECIAL2:
 	      return (LPSTR)(pdata->u.file.szNames + strlen (pdata->u.file.szNames) + 1);
 
@@ -239,8 +241,10 @@ BOOL pcheck (LPCITEMIDLIST pidl)
 	      case PT_FOLDER1:
 	      case PT_WORKGRP:
 	      case PT_COMP:
+	      case PT_NETPROVIDER:
 	      case PT_NETWORK:
 	      case PT_IESPECIAL1:
+	      case PT_RAS_FOLDER:
 	      case PT_IESPECIAL2:
 	      case PT_SHARE:
 		break;
Index: pidl.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/pidl.c,v
retrieving revision 1.95
diff -u -p -d -r1.95 pidl.c
--- pidl.c	30 Dec 2003 19:24:22 -0000	1.95
+++ pidl.c	17 Jan 2004 15:23:45 -0000
@@ -1826,6 +1826,7 @@ LPSTR _ILGetTextPointer(LPCITEMIDLIST pi
 	    case PT_FOLDER1:
 	    case PT_VALUE:
 	    case PT_IESPECIAL1:
+	    case PT_RAS_FOLDER:
 	    case PT_IESPECIAL2:
 	      return (LPSTR)&(pdata->u.file.szNames);
 
@@ -1856,6 +1857,7 @@ LPSTR _ILGetSTextPointer(LPCITEMIDLIST p
 	    case PT_FOLDER:
 	    case PT_VALUE:
 	    case PT_IESPECIAL1:
+	    case PT_RAS_FOLDER:
 	    case PT_IESPECIAL2:
 	      return (LPSTR)(pdata->u.file.szNames + strlen (pdata->u.file.szNames) + 1);
 





More information about the wine-patches mailing list