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
b4d65f59
Commit
b4d65f59
authored
Jan 27, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 27, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hlink: Remove superfluous pointer casts.
parent
905ff8fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
extserv.c
dlls/hlink/extserv.c
+4
-4
link.c
dlls/hlink/link.c
+3
-4
No files found.
dlls/hlink/extserv.c
View file @
b4d65f59
...
...
@@ -40,10 +40,10 @@ typedef struct {
LPWSTR
headers
;
}
ExtensionService
;
#define EXTSERVUNK(x)
((IUnknown*)
&(x)->lpIUnknownVtbl)
#define AUTHENTICATE(x)
((IAuthenticate*)
&(x)->lpIAuthenticateVtbl)
#define HTTPNEGOTIATE(x)
((IHttpNegotiate*)
&(x)->lpIHttpNegotiateVtbl)
#define EXTENSIONSERVICES(x) (
(IExtensionServices*)
&(x)->lpIExtensionServicesVtbl)
#define EXTSERVUNK(x)
((IUnknown*)
&(x)->lpIUnknownVtbl)
#define AUTHENTICATE(x)
(
&(x)->lpIAuthenticateVtbl)
#define HTTPNEGOTIATE(x)
(
&(x)->lpIHttpNegotiateVtbl)
#define EXTENSIONSERVICES(x) (&(x)->lpIExtensionServicesVtbl)
#define EXTSERVUNK_THIS(iface) DEFINE_THIS(ExtensionService, IUnknown, iface)
...
...
dlls/hlink/link.c
View file @
b4d65f59
...
...
@@ -82,8 +82,7 @@ static inline void __GetMoniker(HlinkImpl* This, IMoniker** moniker)
else
if
(
This
->
Site
)
{
IHlinkSite_GetMoniker
(
This
->
Site
,
This
->
SiteData
,
OLEGETMONIKER_FORCEASSIGN
,
OLEWHICHMK_CONTAINER
,
(
LPVOID
)
moniker
);
OLEGETMONIKER_FORCEASSIGN
,
OLEWHICHMK_CONTAINER
,
moniker
);
}
}
...
...
@@ -123,9 +122,9 @@ static HRESULT WINAPI IHlink_fnQueryInterface(IHlink* iface, REFIID riid,
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
(
IsEqualIID
(
riid
,
&
IID_IHlink
)))
*
ppvObj
=
This
;
else
if
(
IsEqualIID
(
riid
,
&
IID_IPersistStream
))
*
ppvObj
=
(
LPVOID
*
)
&
(
This
->
lpPSVtbl
);
*
ppvObj
=
&
(
This
->
lpPSVtbl
);
else
if
(
IsEqualIID
(
riid
,
&
IID_IDataObject
))
*
ppvObj
=
(
LPVOID
*
)
&
(
This
->
lpDOVtbl
);
*
ppvObj
=
&
(
This
->
lpDOVtbl
);
if
(
*
ppvObj
)
{
...
...
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