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
d64697a3
Commit
d64697a3
authored
Aug 16, 2013
by
Nikolay Sivov
Committed by
Alexandre Julliard
Aug 16, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Forward GetClassID() to IPersistFile.
parent
15cd338d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
shelllink.c
dlls/shell32/shelllink.c
+7
-10
No files found.
dlls/shell32/shelllink.c
View file @
d64697a3
...
@@ -280,14 +280,6 @@ static HRESULT ShellLink_QueryInterface( IShellLinkImpl *This, REFIID riid, LPV
...
@@ -280,14 +280,6 @@ static HRESULT ShellLink_QueryInterface( IShellLinkImpl *This, REFIID riid, LPV
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
static
HRESULT
ShellLink_GetClassID
(
IShellLinkImpl
*
This
,
CLSID
*
pclsid
)
{
TRACE
(
"%p %p
\n
"
,
This
,
pclsid
);
*
pclsid
=
CLSID_ShellLink
;
return
S_OK
;
}
/**************************************************************************
/**************************************************************************
* IPersistFile_QueryInterface
* IPersistFile_QueryInterface
*/
*/
...
@@ -321,7 +313,12 @@ static ULONG WINAPI IPersistFile_fnRelease(IPersistFile* iface)
...
@@ -321,7 +313,12 @@ static ULONG WINAPI IPersistFile_fnRelease(IPersistFile* iface)
static
HRESULT
WINAPI
IPersistFile_fnGetClassID
(
IPersistFile
*
iface
,
CLSID
*
pClassID
)
static
HRESULT
WINAPI
IPersistFile_fnGetClassID
(
IPersistFile
*
iface
,
CLSID
*
pClassID
)
{
{
IShellLinkImpl
*
This
=
impl_from_IPersistFile
(
iface
);
IShellLinkImpl
*
This
=
impl_from_IPersistFile
(
iface
);
return
ShellLink_GetClassID
(
This
,
pClassID
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pClassID
);
*
pClassID
=
CLSID_ShellLink
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
IPersistFile_fnIsDirty
(
IPersistFile
*
iface
)
static
HRESULT
WINAPI
IPersistFile_fnIsDirty
(
IPersistFile
*
iface
)
...
@@ -545,7 +542,7 @@ static HRESULT WINAPI IPersistStream_fnGetClassID(
...
@@ -545,7 +542,7 @@ static HRESULT WINAPI IPersistStream_fnGetClassID(
CLSID
*
pClassID
)
CLSID
*
pClassID
)
{
{
IShellLinkImpl
*
This
=
impl_from_IPersistStream
(
iface
);
IShellLinkImpl
*
This
=
impl_from_IPersistStream
(
iface
);
return
ShellLink_GetClassID
(
This
,
pClassID
);
return
IPersistFile_GetClassID
(
&
This
->
IPersistFile_iface
,
pClassID
);
}
}
/************************************************************************
/************************************************************************
...
...
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