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
936198ce
Commit
936198ce
authored
Aug 13, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved ICOM_THIS_MULTI definition out of objbase.h and into the files
that use it.
parent
ff039ccd
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
29 additions
and
2 deletions
+29
-2
comcat_private.h
dlls/comcat/comcat_private.h
+2
-0
dmutils.h
dlls/dmband/dmutils.h
+2
-0
dmcompos_private.h
dlls/dmcompos/dmcompos_private.h
+2
-0
dmutils.h
dlls/dmime/dmutils.h
+2
-0
dmloader_private.h
dlls/dmloader/dmloader_private.h
+2
-0
dmscript_private.h
dlls/dmscript/dmscript_private.h
+2
-0
dmutils.h
dlls/dmstyle/dmutils.h
+2
-0
dmusic_private.h
dlls/dmusic/dmusic_private.h
+1
-1
dswave_private.h
dlls/dswave/dswave_private.h
+2
-0
mlang.c
dlls/mlang/mlang.c
+2
-0
compobj_private.h
dlls/ole32/compobj_private.h
+2
-0
tmarshal.c
dlls/oleaut32/tmarshal.c
+2
-0
quartz_private.h
dlls/quartz/quartz_private.h
+2
-0
cproxy.c
dlls/rpcrt4/cproxy.c
+2
-0
urlmon_main.h
dlls/urlmon/urlmon_main.h
+2
-0
objbase.h
include/objbase.h
+0
-1
No files found.
dlls/comcat/comcat_private.h
View file @
936198ce
...
@@ -31,6 +31,8 @@
...
@@ -31,6 +31,8 @@
#include "comcat.h"
#include "comcat.h"
#include "wine/unicode.h"
#include "wine/unicode.h"
#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
/**********************************************************************
/**********************************************************************
* Dll lifetime tracking declaration for comcat.dll
* Dll lifetime tracking declaration for comcat.dll
*/
*/
...
...
dlls/dmband/dmutils.h
View file @
936198ce
...
@@ -27,6 +27,8 @@ typedef struct _DMUS_PRIVATE_CHUNK {
...
@@ -27,6 +27,8 @@ typedef struct _DMUS_PRIVATE_CHUNK {
DWORD
dwSize
;
/* size of the chunk */
DWORD
dwSize
;
/* size of the chunk */
}
DMUS_PRIVATE_CHUNK
,
*
LPDMUS_PRIVATE_CHUNK
;
}
DMUS_PRIVATE_CHUNK
,
*
LPDMUS_PRIVATE_CHUNK
;
#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
/**
/**
* Parsing utilities
* Parsing utilities
*/
*/
...
...
dlls/dmcompos/dmcompos_private.h
View file @
936198ce
...
@@ -267,6 +267,8 @@ typedef struct {
...
@@ -267,6 +267,8 @@ typedef struct {
#define FE(x) { x, #x }
#define FE(x) { x, #x }
#define GE(x) { &x, #x }
#define GE(x) { &x, #x }
#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
/* check whether the given DWORD is even (return 0) or odd (return 1) */
/* check whether the given DWORD is even (return 0) or odd (return 1) */
extern
int
even_or_odd
(
DWORD
number
);
extern
int
even_or_odd
(
DWORD
number
);
/* FOURCC to string conversion for debug messages */
/* FOURCC to string conversion for debug messages */
...
...
dlls/dmime/dmutils.h
View file @
936198ce
...
@@ -27,6 +27,8 @@ typedef struct _DMUS_PRIVATE_CHUNK {
...
@@ -27,6 +27,8 @@ typedef struct _DMUS_PRIVATE_CHUNK {
DWORD
dwSize
;
/* size of the chunk */
DWORD
dwSize
;
/* size of the chunk */
}
DMUS_PRIVATE_CHUNK
,
*
LPDMUS_PRIVATE_CHUNK
;
}
DMUS_PRIVATE_CHUNK
,
*
LPDMUS_PRIVATE_CHUNK
;
#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
/**
/**
* Parsing utilities
* Parsing utilities
*/
*/
...
...
dlls/dmloader/dmloader_private.h
View file @
936198ce
...
@@ -41,6 +41,8 @@
...
@@ -41,6 +41,8 @@
#include "dmusicf.h"
#include "dmusicf.h"
#include "dmusics.h"
#include "dmusics.h"
#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
/* dmloader.dll global (for DllCanUnloadNow) */
/* dmloader.dll global (for DllCanUnloadNow) */
extern
DWORD
dwDirectMusicLoader
;
/* number of DirectMusicLoader(CF) instances */
extern
DWORD
dwDirectMusicLoader
;
/* number of DirectMusicLoader(CF) instances */
extern
DWORD
dwDirectMusicContainer
;
/* number of DirectMusicContainer(CF) instances */
extern
DWORD
dwDirectMusicContainer
;
/* number of DirectMusicContainer(CF) instances */
...
...
dlls/dmscript/dmscript_private.h
View file @
936198ce
...
@@ -200,6 +200,8 @@ typedef struct {
...
@@ -200,6 +200,8 @@ typedef struct {
#define FE(x) { x, #x }
#define FE(x) { x, #x }
#define GE(x) { &x, #x }
#define GE(x) { &x, #x }
#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
/* check whether the given DWORD is even (return 0) or odd (return 1) */
/* check whether the given DWORD is even (return 0) or odd (return 1) */
extern
int
even_or_odd
(
DWORD
number
);
extern
int
even_or_odd
(
DWORD
number
);
/* FOURCC to string conversion for debug messages */
/* FOURCC to string conversion for debug messages */
...
...
dlls/dmstyle/dmutils.h
View file @
936198ce
...
@@ -27,6 +27,8 @@ typedef struct _DMUS_PRIVATE_CHUNK {
...
@@ -27,6 +27,8 @@ typedef struct _DMUS_PRIVATE_CHUNK {
DWORD
dwSize
;
/* size of the chunk */
DWORD
dwSize
;
/* size of the chunk */
}
DMUS_PRIVATE_CHUNK
,
*
LPDMUS_PRIVATE_CHUNK
;
}
DMUS_PRIVATE_CHUNK
,
*
LPDMUS_PRIVATE_CHUNK
;
#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
/**
/**
* Parsing utilities
* Parsing utilities
*/
*/
...
...
dlls/dmusic/dmusic_private.h
View file @
936198ce
...
@@ -412,8 +412,8 @@ void register_waveport (LPGUID lpGUID, LPCSTR lpszDesc, LPCSTR lpszDrvName, LPVO
...
@@ -412,8 +412,8 @@ void register_waveport (LPGUID lpGUID, LPCSTR lpszDesc, LPCSTR lpszDrvName, LPVO
* Misc.
* Misc.
*/
*/
/* my custom ICOM stuff */
/* my custom ICOM stuff */
#define ICOM_NAME(impl,iface,name) impl* const name=(impl*)(iface)
#define ICOM_NAME_MULTI(impl,field,iface,name) impl* const name=(impl*)((char*)(iface) - offsetof(impl,field))
#define ICOM_NAME_MULTI(impl,field,iface,name) impl* const name=(impl*)((char*)(iface) - offsetof(impl,field))
#define ICOM_THIS_MULTI(impl,field,iface) ICOM_NAME_MULTI(impl,field,iface,This)
/* for simpler reading */
/* for simpler reading */
typedef
struct
_DMUS_PRIVATE_CHUNK
{
typedef
struct
_DMUS_PRIVATE_CHUNK
{
...
...
dlls/dswave/dswave_private.h
View file @
936198ce
...
@@ -160,6 +160,8 @@ typedef struct {
...
@@ -160,6 +160,8 @@ typedef struct {
#define FE(x) { x, #x }
#define FE(x) { x, #x }
#define GE(x) { &x, #x }
#define GE(x) { &x, #x }
#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
/* check whether the given DWORD is even (return 0) or odd (return 1) */
/* check whether the given DWORD is even (return 0) or odd (return 1) */
extern
int
even_or_odd
(
DWORD
number
);
extern
int
even_or_odd
(
DWORD
number
);
/* FOURCC to string conversion for debug messages */
/* FOURCC to string conversion for debug messages */
...
...
dlls/mlang/mlang.c
View file @
936198ce
...
@@ -45,6 +45,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(mlang);
...
@@ -45,6 +45,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(mlang);
#define CP_UNICODE 1200
#define CP_UNICODE 1200
#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
static
HRESULT
MultiLanguage_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
);
static
HRESULT
MultiLanguage_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
);
/* FIXME:
/* FIXME:
...
...
dlls/ole32/compobj_private.h
View file @
936198ce
...
@@ -189,4 +189,6 @@ static inline APARTMENT* COM_CurrentApt(void)
...
@@ -189,4 +189,6 @@ static inline APARTMENT* COM_CurrentApt(void)
APARTMENT
*
COM_CreateApartment
(
DWORD
model
);
APARTMENT
*
COM_CreateApartment
(
DWORD
model
);
HWND
COM_GetApartmentWin
(
OXID
oxid
);
HWND
COM_GetApartmentWin
(
OXID
oxid
);
#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
#endif
/* __WINE_OLE_COMPOBJ_H */
#endif
/* __WINE_OLE_COMPOBJ_H */
dlls/oleaut32/tmarshal.c
View file @
936198ce
...
@@ -53,6 +53,8 @@ static const WCHAR ppvObjectW[] = {'p','p','v','O','b','j','e','c','t',0};
...
@@ -53,6 +53,8 @@ static const WCHAR ppvObjectW[] = {'p','p','v','O','b','j','e','c','t',0};
WINE_DEFAULT_DEBUG_CHANNEL
(
ole
);
WINE_DEFAULT_DEBUG_CHANNEL
(
ole
);
WINE_DECLARE_DEBUG_CHANNEL
(
olerelay
);
WINE_DECLARE_DEBUG_CHANNEL
(
olerelay
);
#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
typedef
struct
_marshal_state
{
typedef
struct
_marshal_state
{
LPBYTE
base
;
LPBYTE
base
;
int
size
;
int
size
;
...
...
dlls/quartz/quartz_private.h
View file @
936198ce
...
@@ -37,6 +37,8 @@
...
@@ -37,6 +37,8 @@
#define BYTES_FROM_MEDIATIME(time) SEC_FROM_MEDIATIME(time)
#define BYTES_FROM_MEDIATIME(time) SEC_FROM_MEDIATIME(time)
#define MSEC_FROM_MEDIATIME(time) ((time) / 10000)
#define MSEC_FROM_MEDIATIME(time) ((time) / 10000)
#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
HRESULT
FILTERGRAPH_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
)
;
HRESULT
FILTERGRAPH_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
)
;
HRESULT
FilterMapper2_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
);
HRESULT
FilterMapper2_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
);
HRESULT
AsyncReader_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
);
HRESULT
AsyncReader_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
);
...
...
dlls/rpcrt4/cproxy.c
View file @
936198ce
...
@@ -55,6 +55,8 @@ typedef struct {
...
@@ -55,6 +55,8 @@ typedef struct {
static
IRpcProxyBufferVtbl
StdProxy_Vtbl
;
static
IRpcProxyBufferVtbl
StdProxy_Vtbl
;
#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
/* How the Windows stubless proxy thunks work is explained at
/* How the Windows stubless proxy thunks work is explained at
* http://msdn.microsoft.com/library/en-us/dnmsj99/html/com0199.asp,
* http://msdn.microsoft.com/library/en-us/dnmsj99/html/com0199.asp,
* but I'll use a slightly different method, to make life easier */
* but I'll use a slightly different method, to make life easier */
...
...
dlls/urlmon/urlmon_main.h
View file @
936198ce
...
@@ -26,4 +26,6 @@
...
@@ -26,4 +26,6 @@
extern
HINSTANCE
URLMON_hInstance
;
extern
HINSTANCE
URLMON_hInstance
;
#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
#endif
/* __WINE_URLMON_MAIN_H */
#endif
/* __WINE_URLMON_MAIN_H */
include/objbase.h
View file @
936198ce
...
@@ -298,7 +298,6 @@
...
@@ -298,7 +298,6 @@
/* Wine-specific macros */
/* Wine-specific macros */
#define ICOM_THIS(impl,iface) impl* const This=(impl*)(iface)
#define ICOM_THIS(impl,iface) impl* const This=(impl*)(iface)
#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
#include <objidl.h>
#include <objidl.h>
...
...
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