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
8324ed6c
Commit
8324ed6c
authored
Feb 18, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Remove superfluous pointer casts from macros.
parent
ccce11d2
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
32 deletions
+32
-32
autocomplete.c
dlls/shell32/autocomplete.c
+3
-3
cpanelfolder.c
dlls/shell32/cpanelfolder.c
+9
-9
dragdrophelper.c
dlls/shell32/dragdrophelper.c
+2
-2
shfldr_fs.c
dlls/shell32/shfldr_fs.c
+9
-9
shfldr_mycomp.c
dlls/shell32/shfldr_mycomp.c
+6
-6
shfldr_netplaces.c
dlls/shell32/shfldr_netplaces.c
+3
-3
No files found.
dlls/shell32/autocomplete.c
View file @
8324ed6c
...
...
@@ -84,9 +84,9 @@ static const IAutoCompleteDropDownVtbl acdropdownvt;
/*
converts This to an interface pointer
*/
#define _IUnknown_(This)
(IUnknown*)&(This
->lpVtbl)
#define _IAutoComplete2_(This)
(IAutoComplete2*)&(This
->lpVtbl)
#define _IAutoCompleteDropDown_(This)
(IAutoCompleteDropDown*)&(This
->lpDropDownVtbl)
#define _IUnknown_(This)
((IUnknown*)&(This)
->lpVtbl)
#define _IAutoComplete2_(This)
((IAutoComplete2*)&(This)
->lpVtbl)
#define _IAutoCompleteDropDown_(This)
(&(This)
->lpDropDownVtbl)
static
inline
IAutoCompleteImpl
*
impl_from_IAutoCompleteDropDown
(
IAutoCompleteDropDown
*
iface
)
{
...
...
dlls/shell32/cpanelfolder.c
View file @
8324ed6c
...
...
@@ -96,15 +96,15 @@ static inline ICPanelImpl *impl_from_IShellExecuteHookA( IShellExecuteHookA *ifa
/*
converts This to an interface pointer
*/
#define _IUnknown_(This)
(IUnknown*)&(This
->lpVtbl)
#define _IShellFolder_(This)
(IShellFolder*)&(This
->lpVtbl)
#define _IShellFolder2_(This)
(IShellFolder2*)&(This
->lpVtbl)
#define _IPersist_(This)
(IPersist*)&(This
->lpVtblPersistFolder2)
#define _IPersistFolder_(This)
(IPersistFolder*)&(This
->lpVtblPersistFolder2)
#define _IPersistFolder2_(This)
(IPersistFolder2*)&(This
->lpVtblPersistFolder2)
#define _IShellExecuteHookW_(This) (
IShellExecuteHookW*)&(This
->lpVtblShellExecuteHookW)
#define _IShellExecuteHookA_(This) (
IShellExecuteHookA*)&(This
->lpVtblShellExecuteHookA)
#define _IUnknown_(This)
((IUnknown*)&(This)
->lpVtbl)
#define _IShellFolder_(This)
((IShellFolder*)&(This)
->lpVtbl)
#define _IShellFolder2_(This)
(&(This)
->lpVtbl)
#define _IPersist_(This)
(&(This)
->lpVtblPersistFolder2)
#define _IPersistFolder_(This)
(&(This)
->lpVtblPersistFolder2)
#define _IPersistFolder2_(This)
(&(This)
->lpVtblPersistFolder2)
#define _IShellExecuteHookW_(This) (
&(This)
->lpVtblShellExecuteHookW)
#define _IShellExecuteHookA_(This) (
&(This)
->lpVtblShellExecuteHookA)
/***********************************************************************
* IShellFolder [ControlPanel] implementation
...
...
dlls/shell32/dragdrophelper.c
View file @
8324ed6c
...
...
@@ -54,8 +54,8 @@ typedef struct {
static
const
IDropTargetHelperVtbl
vt_IDropTargetHelper
;
#define _IUnknown_(This)
(IUnknown*)&(This
->lpVtbl)
#define _IDropTargetHelper_(This) (
IDropTargetHelper*)&(This
->lpVtbl)
#define _IUnknown_(This)
((IUnknown*)&(This)
->lpVtbl)
#define _IDropTargetHelper_(This) (
&(This)
->lpVtbl)
/**************************************************************************
* IDropTargetHelper_Constructor
...
...
dlls/shell32/shfldr_fs.c
View file @
8324ed6c
...
...
@@ -110,15 +110,15 @@ static inline IGenericSFImpl *impl_from_ISFHelper( ISFHelper *iface )
/*
converts This to an interface pointer
*/
#define _IUnknown_(This) (
IUnknown*)&(This
->lpVtbl)
#define _IShellFolder_(This) (
IShellFolder*)&(This
->lpvtblShellFolder)
#define _IShellFolder2_(This) (
IShellFolder2*)&(This
->lpvtblShellFolder)
#define _IPersist_(This) (
IPersist*)&(This
->lpvtblPersistFolder3)
#define _IPersistFolder_(This) (
IPersistFolder*)&(This
->lpvtblPersistFolder3)
#define _IPersistFolder2_(This) (
IPersistFolder2*)&(This
->lpvtblPersistFolder3)
#define _IPersistFolder3_(This) (
IPersistFolder3*)&(This
->lpvtblPersistFolder3)
#define _IDropTarget_(This) (
IDropTarget*)&(This
->lpvtblDropTarget)
#define _ISFHelper_(This) (
ISFHelper*)&(This
->lpvtblSFHelper)
#define _IUnknown_(This) (
(IUnknown*)&(This)
->lpVtbl)
#define _IShellFolder_(This) (
(IShellFolder*)&(This)
->lpvtblShellFolder)
#define _IShellFolder2_(This) (
(IShellFolder2*)&(This)
->lpvtblShellFolder)
#define _IPersist_(This) (
&(This)
->lpvtblPersistFolder3)
#define _IPersistFolder_(This) (
&(This)
->lpvtblPersistFolder3)
#define _IPersistFolder2_(This) (
&(This)
->lpvtblPersistFolder3)
#define _IPersistFolder3_(This) (
&(This)
->lpvtblPersistFolder3)
#define _IDropTarget_(This) (
&(This)
->lpvtblDropTarget)
#define _ISFHelper_(This) (
&(This)
->lpvtblSFHelper)
/**************************************************************************
* registers clipboardformat once
...
...
dlls/shell32/shfldr_mycomp.c
View file @
8324ed6c
...
...
@@ -75,13 +75,13 @@ static inline IGenericSFImpl *impl_from_IPersistFolder2( IPersistFolder2 *iface
/*
converts This to an interface pointer
*/
#define _IUnknown_(This)
(IUnknown*)&(This
->lpVtbl)
#define _IShellFolder_(This) (
IShellFolder*)&(This
->lpVtbl)
#define _IShellFolder2_(This)
(IShellFolder2*)&(This
->lpVtbl)
#define _IUnknown_(This)
((IUnknown*)&(This)
->lpVtbl)
#define _IShellFolder_(This) (
(IShellFolder*)&(This)
->lpVtbl)
#define _IShellFolder2_(This)
(&(This)
->lpVtbl)
#define _IPersist_(This)
(IPersist*)&(This
->lpVtblPersistFolder2)
#define _IPersistFolder_(This)
(IPersistFolder*)&(This
->lpVtblPersistFolder2)
#define _IPersistFolder2_(This)
(IPersistFolder2*)&(This
->lpVtblPersistFolder2)
#define _IPersist_(This)
(&(This)
->lpVtblPersistFolder2)
#define _IPersistFolder_(This)
(&(This)
->lpVtblPersistFolder2)
#define _IPersistFolder2_(This)
(&(This)
->lpVtblPersistFolder2)
/***********************************************************************
* IShellFolder [MyComputer] implementation
...
...
dlls/shell32/shfldr_netplaces.c
View file @
8324ed6c
...
...
@@ -69,9 +69,9 @@ static const IPersistFolder2Vtbl vt_NP_PersistFolder2;
#define _ICOM_THIS_From_IPersistFolder2(class, name) class* This = \
(class*)(((char*)name) - FIELD_OFFSET(IGenericSFImpl, lpVtblPersistFolder2))
#define _IUnknown_(This)
(IUnknown*)&(This
->lpVtbl)
#define _IShellFolder_(This)
(IShellFolder*)&(This
->lpVtbl)
#define _IPersistFolder2_(This)
(IPersistFolder2*)&(This
->lpVtblPersistFolder2)
#define _IUnknown_(This)
((IUnknown*)&(This)
->lpVtbl)
#define _IShellFolder_(This)
((IShellFolder*)&(This)
->lpVtbl)
#define _IPersistFolder2_(This)
(&(This)
->lpVtblPersistFolder2)
static
const
shvheader
NetworkPlacesSFHeader
[]
=
{
{
IDS_SHV_COLUMN1
,
SHCOLSTATE_TYPE_STR
|
SHCOLSTATE_ONBYDEFAULT
,
LVCFMT_RIGHT
,
15
},
...
...
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