Commit 6e775f89 authored by Martin Fuchs's avatar Martin Fuchs Committed by Alexandre Julliard

- declare PT_RAS_FOLDER for the "RAS Connections" folder

- handle PT_RAS_FOLDER and PT_NETPROVIDER in debugging functions and _ILGetTextPointer() / _ILGetSTextPointer()
parent ebdc1f46
...@@ -83,6 +83,7 @@ LPSTR _dbg_ILGetTextPointer(LPCITEMIDLIST pidl) ...@@ -83,6 +83,7 @@ LPSTR _dbg_ILGetTextPointer(LPCITEMIDLIST pidl)
case PT_FOLDER1: case PT_FOLDER1:
case PT_VALUE: case PT_VALUE:
case PT_IESPECIAL1: case PT_IESPECIAL1:
case PT_RAS_FOLDER:
case PT_IESPECIAL2: case PT_IESPECIAL2:
return (LPSTR)&(pdata->u.file.szNames); return (LPSTR)&(pdata->u.file.szNames);
...@@ -108,6 +109,7 @@ LPSTR _dbg_ILGetSTextPointer(LPCITEMIDLIST pidl) ...@@ -108,6 +109,7 @@ LPSTR _dbg_ILGetSTextPointer(LPCITEMIDLIST pidl)
case PT_FOLDER: case PT_FOLDER:
case PT_VALUE: case PT_VALUE:
case PT_IESPECIAL1: case PT_IESPECIAL1:
case PT_RAS_FOLDER:
case PT_IESPECIAL2: case PT_IESPECIAL2:
return (LPSTR)(pdata->u.file.szNames + strlen (pdata->u.file.szNames) + 1); return (LPSTR)(pdata->u.file.szNames + strlen (pdata->u.file.szNames) + 1);
...@@ -239,8 +241,10 @@ BOOL pcheck (LPCITEMIDLIST pidl) ...@@ -239,8 +241,10 @@ BOOL pcheck (LPCITEMIDLIST pidl)
case PT_FOLDER1: case PT_FOLDER1:
case PT_WORKGRP: case PT_WORKGRP:
case PT_COMP: case PT_COMP:
case PT_NETPROVIDER:
case PT_NETWORK: case PT_NETWORK:
case PT_IESPECIAL1: case PT_IESPECIAL1:
case PT_RAS_FOLDER:
case PT_IESPECIAL2: case PT_IESPECIAL2:
case PT_SHARE: case PT_SHARE:
break; break;
......
...@@ -1826,6 +1826,7 @@ LPSTR _ILGetTextPointer(LPCITEMIDLIST pidl) ...@@ -1826,6 +1826,7 @@ LPSTR _ILGetTextPointer(LPCITEMIDLIST pidl)
case PT_FOLDER1: case PT_FOLDER1:
case PT_VALUE: case PT_VALUE:
case PT_IESPECIAL1: case PT_IESPECIAL1:
case PT_RAS_FOLDER:
case PT_IESPECIAL2: case PT_IESPECIAL2:
return (LPSTR)&(pdata->u.file.szNames); return (LPSTR)&(pdata->u.file.szNames);
...@@ -1856,6 +1857,7 @@ LPSTR _ILGetSTextPointer(LPCITEMIDLIST pidl) ...@@ -1856,6 +1857,7 @@ LPSTR _ILGetSTextPointer(LPCITEMIDLIST pidl)
case PT_FOLDER: case PT_FOLDER:
case PT_VALUE: case PT_VALUE:
case PT_IESPECIAL1: case PT_IESPECIAL1:
case PT_RAS_FOLDER:
case PT_IESPECIAL2: case PT_IESPECIAL2:
return (LPSTR)(pdata->u.file.szNames + strlen (pdata->u.file.szNames) + 1); return (LPSTR)(pdata->u.file.szNames + strlen (pdata->u.file.szNames) + 1);
......
...@@ -100,6 +100,7 @@ ...@@ -100,6 +100,7 @@
#define PT_NETPROVIDER 0x46 #define PT_NETPROVIDER 0x46
#define PT_NETWORK 0x47 #define PT_NETWORK 0x47
#define PT_IESPECIAL1 0x61 #define PT_IESPECIAL1 0x61
#define PT_RAS_FOLDER 0x70
#define PT_IESPECIAL2 0xb1 #define PT_IESPECIAL2 0xb1
#define PT_SHARE 0xc3 #define PT_SHARE 0xc3
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment