Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
0e5b772c
Commit
0e5b772c
authored
Apr 13, 2005
by
Huw Davies
Committed by
Alexandre Julliard
Apr 13, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a unicode pidl type.
Improve support for PT_YAGUID. Improve IShellLink debugging.
parent
66add27b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
3 deletions
+15
-3
debughlp.c
dlls/shell32/debughlp.c
+4
-0
pidl.c
dlls/shell32/pidl.c
+2
-1
pidl.h
dlls/shell32/pidl.h
+7
-0
shelllink.c
dlls/shell32/shelllink.c
+2
-2
No files found.
dlls/shell32/debughlp.c
View file @
0e5b772c
...
...
@@ -136,6 +136,7 @@ IID* _dbg_ILGetGUIDPointer(LPCITEMIDLIST pidl)
{
case
PT_SHELLEXT
:
case
PT_GUID
:
case
PT_YAGUID
:
return
&
(
pdata
->
u
.
guid
.
guid
);
}
}
...
...
@@ -267,6 +268,7 @@ BOOL pcheck( LPCITEMIDLIST pidl )
case
PT_DRIVE3
:
case
PT_FOLDER
:
case
PT_VALUE
:
case
PT_VALUEW
:
case
PT_FOLDER1
:
case
PT_WORKGRP
:
case
PT_COMP
:
...
...
@@ -316,6 +318,8 @@ static struct {
{
&
IID_IDataObject
,
"IID_IDataObject"
},
{
&
IID_IAutoComplete
,
"IID_IAutoComplete"
},
{
&
IID_IAutoComplete2
,
"IID_IAutoComplete2"
},
{
&
IID_IShellLinkA
,
"IID_IShellLinkA"
},
{
&
IID_IShellLinkW
,
"IID_IShellLinkW"
},
{
NULL
,
NULL
}};
const
char
*
shdebugstr_guid
(
const
struct
_GUID
*
id
)
...
...
dlls/shell32/pidl.c
View file @
0e5b772c
...
...
@@ -1825,7 +1825,7 @@ BOOL _ILIsSpecialFolder (LPCITEMIDLIST pidl)
TRACE
(
"(%p)
\n
"
,
pidl
);
return
(
pidl
&&
(
(
lpPData
&&
(
PT_GUID
==
lpPData
->
type
||
PT_SHELLEXT
==
lpPData
->
type
))
||
return
(
pidl
&&
(
(
lpPData
&&
(
PT_GUID
==
lpPData
->
type
||
PT_SHELLEXT
==
lpPData
->
type
||
PT_YAGUID
==
lpPData
->
type
))
||
(
pidl
&&
pidl
->
mkid
.
cb
==
0x00
)
));
}
...
...
@@ -2081,6 +2081,7 @@ IID* _ILGetGUIDPointer(LPCITEMIDLIST pidl)
{
case
PT_SHELLEXT
:
case
PT_GUID
:
case
PT_YAGUID
:
return
&
(
pdata
->
u
.
guid
.
guid
);
default:
...
...
dlls/shell32/pidl.h
View file @
0e5b772c
...
...
@@ -97,6 +97,7 @@
#define PT_FOLDER1 0x30
#define PT_FOLDER 0x31
#define PT_VALUE 0x32
#define PT_VALUEW 0x34
#define PT_WORKGRP 0x41
#define PT_COMP 0x42
#define PT_NETPROVIDER 0x46
...
...
@@ -142,6 +143,11 @@ typedef struct tagFileStruct
The second the dos name when needed or just 0x00 */
}
FileStruct
;
typedef
struct
tagValueW
{
WCHAR
name
[
1
];
}
ValueWStruct
;
typedef
struct
tagPIDLDATA
{
PIDLTYPE
type
;
/*00*/
union
...
...
@@ -159,6 +165,7 @@ typedef struct tagPIDLDATA
CHAR
szName
[
1
];
/*06*/
/* terminated by 0x00 0x00 */
}
htmlhelp
;
struct
tagPIDLCPanelStruct
cpanel
;
struct
tagValueW
valueW
;
}
u
;
}
PIDLDATA
,
*
LPPIDLDATA
;
#include "poppack.h"
...
...
dlls/shell32/shelllink.c
View file @
0e5b772c
...
...
@@ -250,7 +250,7 @@ static HRESULT WINAPI IPersistFile_fnLoad(IPersistFile* iface, LPCOLESTR pszFile
HRESULT
r
;
IStream
*
stm
;
TRACE
(
"(%p, %s
)
\n
"
,
This
,
debugstr_w
(
pszFileName
)
);
TRACE
(
"(%p, %s
, %lx)
\n
"
,
This
,
debugstr_w
(
pszFileName
),
dwMode
);
r
=
CreateStreamOnFile
(
pszFileName
,
dwMode
,
&
stm
);
if
(
SUCCEEDED
(
r
)
)
...
...
@@ -260,7 +260,7 @@ static HRESULT WINAPI IPersistFile_fnLoad(IPersistFile* iface, LPCOLESTR pszFile
IStream_Release
(
stm
);
This
->
bDirty
=
FALSE
;
}
TRACE
(
"-- returning hr %08lx
\n
"
,
r
);
return
r
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment