Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
65a3de5a
Commit
65a3de5a
authored
Dec 16, 2002
by
Rolf Kalbermatter
Committed by
Alexandre Julliard
Dec 16, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change calls to CLSIDFromString to SHCLSIDFromStringW except in
SHCLSIDFromStringW for the time being.
parent
866d79c1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
12 deletions
+8
-12
pidl.c
dlls/shell32/pidl.c
+7
-10
shellole.c
dlls/shell32/shellole.c
+0
-1
shfldr_desktop.c
dlls/shell32/shfldr_desktop.c
+1
-1
No files found.
dlls/shell32/pidl.c
View file @
65a3de5a
...
...
@@ -1162,17 +1162,14 @@ LPITEMIDLIST _ILCreateValue(WIN32_FIND_DATAA * stffile)
LPITEMIDLIST
_ILCreateSpecial
(
LPCSTR
szGUID
)
{
IID
iid
;
WCHAR
buffer
[
40
];
IID
iid
;
if
(
!
MultiByteToWideChar
(
CP_ACP
,
0
,
szGUID
,
-
1
,
buffer
,
sizeof
(
buffer
)
/
sizeof
(
WCHAR
)
))
return
NULL
;
if
(
!
SUCCEEDED
(
CLSIDFromString
(
buffer
,
&
iid
)))
{
ERR
(
"%s is not a GUID
\n
"
,
szGUID
);
return
NULL
;
}
return
_ILCreate
(
PT_MYCOMP
,
&
iid
,
sizeof
(
IID
));
if
(
!
SUCCEEDED
(
SHCLSIDFromStringA
(
szGUID
,
&
iid
)))
{
ERR
(
"%s is not a GUID
\n
"
,
szGUID
);
return
NULL
;
}
return
_ILCreate
(
PT_MYCOMP
,
&
iid
,
sizeof
(
IID
));
}
/**************************************************************************
...
...
dlls/shell32/shellole.c
View file @
65a3de5a
...
...
@@ -42,7 +42,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
shell
);
DWORD
WINAPI
SHCLSIDFromStringA
(
LPCSTR
clsid
,
CLSID
*
id
);
extern
HRESULT
WINAPI
IFSFolder_Constructor
(
IUnknown
*
pUnkOuter
,
REFIID
riid
,
LPVOID
*
ppv
);
const
WCHAR
sShell32
[
12
]
=
{
'S'
,
'H'
,
'E'
,
'L'
,
'L'
,
'3'
,
'2'
,
'.'
,
'D'
,
'L'
,
'L'
,
'\0'
};
...
...
dlls/shell32/shfldr_desktop.c
View file @
65a3de5a
...
...
@@ -205,7 +205,7 @@ static HRESULT WINAPI ISF_Desktop_fnParseDisplayName (IShellFolder2 * iface,
if
(
lpszDisplayName
[
0
]
==
':'
&&
lpszDisplayName
[
1
]
==
':'
)
{
szNext
=
GetNextElementW
(
lpszDisplayName
,
szElement
,
MAX_PATH
);
TRACE
(
"-- element: %s
\n
"
,
debugstr_w
(
szElement
));
CLSIDFromString
(
szElement
+
2
,
&
clsid
);
SHCLSIDFromStringW
(
szElement
+
2
,
&
clsid
);
pidlTemp
=
_ILCreate
(
PT_MYCOMP
,
&
clsid
,
sizeof
(
clsid
));
}
else
if
(
PathGetDriveNumberW
(
lpszDisplayName
)
>=
0
)
{
/* it's a filesystem path with a drive. Let MyComputer parse it */
...
...
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