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
a1d23f5d
Commit
a1d23f5d
authored
Jan 04, 2001
by
Francois Gouget
Committed by
Alexandre Julliard
Jan 04, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed the 'fn' prefix (i.e. ICOM_FN).
parent
d6c0f9f7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
42 additions
and
30 deletions
+42
-30
d3dmaterial.c
dlls/ddraw/d3dmaterial.c
+1
-1
d3dtexture.c
dlls/ddraw/d3dtexture.c
+1
-1
mesa.c
dlls/ddraw/direct3d/mesa.c
+1
-1
dinput_main.c
dlls/dinput/dinput_main.c
+1
-1
linux.c
dlls/dinput/joystick/linux.c
+1
-1
linuxinput.c
dlls/dinput/joystick/linuxinput.c
+1
-1
main.c
dlls/dinput/keyboard/main.c
+1
-1
main.c
dlls/dinput/mouse/main.c
+1
-1
dplay.c
dlls/dplayx/dplay.c
+6
-6
dplobby.c
dlls/dplayx/dplobby.c
+6
-6
compobj.c
dlls/ole32/compobj.c
+1
-1
ifs.c
dlls/ole32/ifs.c
+3
-3
storage.c
dlls/ole32/storage.c
+6
-6
obj_base.h
include/wine/obj_base.h
+0
-0
obj_control.h
include/wine/obj_control.h
+4
-0
obj_inplace.h
include/wine/obj_inplace.h
+4
-0
obj_moniker.h
include/wine/obj_moniker.h
+4
-0
No files found.
dlls/ddraw/d3dmaterial.c
View file @
a1d23f5d
...
@@ -217,7 +217,7 @@ static HRESULT WINAPI IDirect3DMaterialImpl_Initialize(LPDIRECT3DMATERIAL iface,
...
@@ -217,7 +217,7 @@ static HRESULT WINAPI IDirect3DMaterialImpl_Initialize(LPDIRECT3DMATERIAL iface,
* IDirect3DMaterial VTable
* IDirect3DMaterial VTable
*/
*/
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
# define XCAST(fun) (typeof(material_vtable.f
n##f
un))
# define XCAST(fun) (typeof(material_vtable.fun))
#else
#else
# define XCAST(fun) (void*)
# define XCAST(fun) (void*)
#endif
#endif
...
...
dlls/ddraw/d3dtexture.c
View file @
a1d23f5d
...
@@ -611,7 +611,7 @@ ICOM_VTABLE(IDirect3DTexture2) mesa_texture2_vtable =
...
@@ -611,7 +611,7 @@ ICOM_VTABLE(IDirect3DTexture2) mesa_texture2_vtable =
* IDirect3DTexture VTable
* IDirect3DTexture VTable
*/
*/
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
# define XCAST(fun) (typeof(mesa_texture_vtable.f
n##f
un))
# define XCAST(fun) (typeof(mesa_texture_vtable.fun))
#else
#else
# define XCAST(fun) (void*)
# define XCAST(fun) (void*)
#endif
#endif
...
...
dlls/ddraw/direct3d/mesa.c
View file @
a1d23f5d
...
@@ -316,7 +316,7 @@ static HRESULT WINAPI MESA_IDirect3D3Impl_EvictManagedTextures(
...
@@ -316,7 +316,7 @@ static HRESULT WINAPI MESA_IDirect3D3Impl_EvictManagedTextures(
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
# define XCAST(fun) (typeof(mesa_d3d3vt.f
n##f
un))
# define XCAST(fun) (typeof(mesa_d3d3vt.fun))
#else
#else
# define XCAST(fun) (void*)
# define XCAST(fun) (void*)
#endif
#endif
...
...
dlls/dinput/dinput_main.c
View file @
a1d23f5d
...
@@ -259,7 +259,7 @@ static ICOM_VTABLE(IDirectInputA) ddiavt =
...
@@ -259,7 +259,7 @@ static ICOM_VTABLE(IDirectInputA) ddiavt =
};
};
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
# define XCAST(fun) (typeof(ddi7avt.f
n##f
un))
# define XCAST(fun) (typeof(ddi7avt.fun))
#else
#else
# define XCAST(fun) (void*)
# define XCAST(fun) (void*)
#endif
#endif
...
...
dlls/dinput/joystick/linux.c
View file @
a1d23f5d
...
@@ -571,7 +571,7 @@ static ICOM_VTABLE(IDirectInputDevice2A) JoystickAvt =
...
@@ -571,7 +571,7 @@ static ICOM_VTABLE(IDirectInputDevice2A) JoystickAvt =
};
};
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
# define XCAST(fun) (typeof(Joystick7Avt.f
n##f
un))
# define XCAST(fun) (typeof(Joystick7Avt.fun))
#else
#else
# define XCAST(fun) (void*)
# define XCAST(fun) (void*)
#endif
#endif
...
...
dlls/dinput/joystick/linuxinput.c
View file @
a1d23f5d
...
@@ -841,7 +841,7 @@ static ICOM_VTABLE(IDirectInputDevice2A) JoystickAvt =
...
@@ -841,7 +841,7 @@ static ICOM_VTABLE(IDirectInputDevice2A) JoystickAvt =
};
};
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
# define XCAST(fun) (typeof(Joystick7Avt.f
n##f
un))
# define XCAST(fun) (typeof(Joystick7Avt.fun))
#else
#else
# define XCAST(fun) (void*)
# define XCAST(fun) (void*)
#endif
#endif
...
...
dlls/dinput/keyboard/main.c
View file @
a1d23f5d
...
@@ -266,7 +266,7 @@ static ICOM_VTABLE(IDirectInputDevice2A) SysKeyboardAvt =
...
@@ -266,7 +266,7 @@ static ICOM_VTABLE(IDirectInputDevice2A) SysKeyboardAvt =
};
};
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
# define XCAST(fun) (typeof(SysKeyboard7Avt.f
n##f
un))
# define XCAST(fun) (typeof(SysKeyboard7Avt.fun))
#else
#else
# define XCAST(fun) (void*)
# define XCAST(fun) (void*)
#endif
#endif
...
...
dlls/dinput/mouse/main.c
View file @
a1d23f5d
...
@@ -928,7 +928,7 @@ static ICOM_VTABLE(IDirectInputDevice2A) SysMouseAvt =
...
@@ -928,7 +928,7 @@ static ICOM_VTABLE(IDirectInputDevice2A) SysMouseAvt =
};
};
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
# define XCAST(fun) (typeof(SysMouse7Avt.f
n##f
un))
# define XCAST(fun) (typeof(SysMouse7Avt.fun))
#else
#else
# define XCAST(fun) (void*)
# define XCAST(fun) (void*)
#endif
#endif
...
...
dlls/dplayx/dplay.c
View file @
a1d23f5d
...
@@ -4540,7 +4540,7 @@ static HRESULT WINAPI DirectPlay4WImpl_CancelPriority
...
@@ -4540,7 +4540,7 @@ static HRESULT WINAPI DirectPlay4WImpl_CancelPriority
/* Note: Hack so we can reuse the old functions without compiler warnings */
/* Note: Hack so we can reuse the old functions without compiler warnings */
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
# define XCAST(fun) (typeof(directPlay2WVT.f
n##f
un))
# define XCAST(fun) (typeof(directPlay2WVT.fun))
#else
#else
# define XCAST(fun) (void*)
# define XCAST(fun) (void*)
#endif
#endif
...
@@ -4586,7 +4586,7 @@ static ICOM_VTABLE(IDirectPlay2) directPlay2WVT =
...
@@ -4586,7 +4586,7 @@ static ICOM_VTABLE(IDirectPlay2) directPlay2WVT =
/* Note: Hack so we can reuse the old functions without compiler warnings */
/* Note: Hack so we can reuse the old functions without compiler warnings */
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
# define XCAST(fun) (typeof(directPlay2AVT.f
n##f
un))
# define XCAST(fun) (typeof(directPlay2AVT.fun))
#else
#else
# define XCAST(fun) (void*)
# define XCAST(fun) (void*)
#endif
#endif
...
@@ -4633,7 +4633,7 @@ static ICOM_VTABLE(IDirectPlay2) directPlay2AVT =
...
@@ -4633,7 +4633,7 @@ static ICOM_VTABLE(IDirectPlay2) directPlay2AVT =
/* Note: Hack so we can reuse the old functions without compiler warnings */
/* Note: Hack so we can reuse the old functions without compiler warnings */
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
# define XCAST(fun) (typeof(directPlay3AVT.f
n##f
un))
# define XCAST(fun) (typeof(directPlay3AVT.fun))
#else
#else
# define XCAST(fun) (void*)
# define XCAST(fun) (void*)
#endif
#endif
...
@@ -4695,7 +4695,7 @@ static ICOM_VTABLE(IDirectPlay3) directPlay3AVT =
...
@@ -4695,7 +4695,7 @@ static ICOM_VTABLE(IDirectPlay3) directPlay3AVT =
/* Note: Hack so we can reuse the old functions without compiler warnings */
/* Note: Hack so we can reuse the old functions without compiler warnings */
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
# define XCAST(fun) (typeof(directPlay3WVT.f
n##f
un))
# define XCAST(fun) (typeof(directPlay3WVT.fun))
#else
#else
# define XCAST(fun) (void*)
# define XCAST(fun) (void*)
#endif
#endif
...
@@ -4756,7 +4756,7 @@ static ICOM_VTABLE(IDirectPlay3) directPlay3WVT =
...
@@ -4756,7 +4756,7 @@ static ICOM_VTABLE(IDirectPlay3) directPlay3WVT =
/* Note: Hack so we can reuse the old functions without compiler warnings */
/* Note: Hack so we can reuse the old functions without compiler warnings */
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
# define XCAST(fun) (typeof(directPlay4WVT.f
n##f
un))
# define XCAST(fun) (typeof(directPlay4WVT.fun))
#else
#else
# define XCAST(fun) (void*)
# define XCAST(fun) (void*)
#endif
#endif
...
@@ -4825,7 +4825,7 @@ static ICOM_VTABLE(IDirectPlay4) directPlay4WVT =
...
@@ -4825,7 +4825,7 @@ static ICOM_VTABLE(IDirectPlay4) directPlay4WVT =
/* Note: Hack so we can reuse the old functions without compiler warnings */
/* Note: Hack so we can reuse the old functions without compiler warnings */
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
# define XCAST(fun) (typeof(directPlay4AVT.f
n##f
un))
# define XCAST(fun) (typeof(directPlay4AVT.fun))
#else
#else
# define XCAST(fun) (void*)
# define XCAST(fun) (void*)
#endif
#endif
...
...
dlls/dplayx/dplobby.c
View file @
a1d23f5d
...
@@ -1737,7 +1737,7 @@ static HRESULT WINAPI IDirectPlayLobby3AImpl_WaitForConnectionSettings
...
@@ -1737,7 +1737,7 @@ static HRESULT WINAPI IDirectPlayLobby3AImpl_WaitForConnectionSettings
/* Note: Hack so we can reuse the old functions without compiler warnings */
/* Note: Hack so we can reuse the old functions without compiler warnings */
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
# define XCAST(fun) (typeof(directPlayLobbyAVT.f
n##f
un))
# define XCAST(fun) (typeof(directPlayLobbyAVT.fun))
#else
#else
# define XCAST(fun) (void*)
# define XCAST(fun) (void*)
#endif
#endif
...
@@ -1769,7 +1769,7 @@ static struct ICOM_VTABLE(IDirectPlayLobby) directPlayLobbyAVT =
...
@@ -1769,7 +1769,7 @@ static struct ICOM_VTABLE(IDirectPlayLobby) directPlayLobbyAVT =
/* Note: Hack so we can reuse the old functions without compiler warnings */
/* Note: Hack so we can reuse the old functions without compiler warnings */
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
# define XCAST(fun) (typeof(directPlayLobbyWVT.f
n##f
un))
# define XCAST(fun) (typeof(directPlayLobbyWVT.fun))
#else
#else
# define XCAST(fun) (void*)
# define XCAST(fun) (void*)
#endif
#endif
...
@@ -1799,7 +1799,7 @@ static ICOM_VTABLE(IDirectPlayLobby) directPlayLobbyWVT =
...
@@ -1799,7 +1799,7 @@ static ICOM_VTABLE(IDirectPlayLobby) directPlayLobbyWVT =
/* Note: Hack so we can reuse the old functions without compiler warnings */
/* Note: Hack so we can reuse the old functions without compiler warnings */
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
# define XCAST(fun) (typeof(directPlayLobby2AVT.f
n##f
un))
# define XCAST(fun) (typeof(directPlayLobby2AVT.fun))
#else
#else
# define XCAST(fun) (void*)
# define XCAST(fun) (void*)
#endif
#endif
...
@@ -1831,7 +1831,7 @@ static ICOM_VTABLE(IDirectPlayLobby2) directPlayLobby2AVT =
...
@@ -1831,7 +1831,7 @@ static ICOM_VTABLE(IDirectPlayLobby2) directPlayLobby2AVT =
/* Note: Hack so we can reuse the old functions without compiler warnings */
/* Note: Hack so we can reuse the old functions without compiler warnings */
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
# define XCAST(fun) (typeof(directPlayLobby2AVT.f
n##f
un))
# define XCAST(fun) (typeof(directPlayLobby2AVT.fun))
#else
#else
# define XCAST(fun) (void*)
# define XCAST(fun) (void*)
#endif
#endif
...
@@ -1865,7 +1865,7 @@ static ICOM_VTABLE(IDirectPlayLobby2) directPlayLobby2WVT =
...
@@ -1865,7 +1865,7 @@ static ICOM_VTABLE(IDirectPlayLobby2) directPlayLobby2WVT =
/* Note: Hack so we can reuse the old functions without compiler warnings */
/* Note: Hack so we can reuse the old functions without compiler warnings */
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
# define XCAST(fun) (typeof(directPlayLobby3AVT.f
n##f
un))
# define XCAST(fun) (typeof(directPlayLobby3AVT.fun))
#else
#else
# define XCAST(fun) (void*)
# define XCAST(fun) (void*)
#endif
#endif
...
@@ -1902,7 +1902,7 @@ static ICOM_VTABLE(IDirectPlayLobby3) directPlayLobby3AVT =
...
@@ -1902,7 +1902,7 @@ static ICOM_VTABLE(IDirectPlayLobby3) directPlayLobby3AVT =
/* Note: Hack so we can reuse the old functions without compiler warnings */
/* Note: Hack so we can reuse the old functions without compiler warnings */
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
# define XCAST(fun) (typeof(directPlayLobby3WVT.f
n##f
un))
# define XCAST(fun) (typeof(directPlayLobby3WVT.fun))
#else
#else
# define XCAST(fun) (void*)
# define XCAST(fun) (void*)
#endif
#endif
...
...
dlls/ole32/compobj.c
View file @
a1d23f5d
...
@@ -598,7 +598,7 @@ HRESULT WINAPI StringFromCLSID16(
...
@@ -598,7 +598,7 @@ HRESULT WINAPI StringFromCLSID16(
if
(
!
K32WOWCallback16Ex
(
if
(
!
K32WOWCallback16Ex
(
(
DWORD
)((
ICOM_VTABLE
(
IMalloc16
)
*
)
MapSL
(
(
DWORD
)((
ICOM_VTABLE
(
IMalloc16
)
*
)
MapSL
(
(
SEGPTR
)
ICOM_VTBL
(((
LPMALLOC16
)
MapSL
((
SEGPTR
)
mllc
))))
(
SEGPTR
)
ICOM_VTBL
(((
LPMALLOC16
)
MapSL
((
SEGPTR
)
mllc
))))
)
->
fn
Alloc
,
)
->
Alloc
,
WCB16_CDECL
,
WCB16_CDECL
,
2
*
sizeof
(
DWORD
),
2
*
sizeof
(
DWORD
),
(
LPVOID
)
args
,
(
LPVOID
)
args
,
...
...
dlls/ole32/ifs.c
View file @
a1d23f5d
...
@@ -201,7 +201,7 @@ IMalloc16_Constructor() {
...
@@ -201,7 +201,7 @@ IMalloc16_Constructor() {
if
(
!
msegvt16
)
{
if
(
!
msegvt16
)
{
msegvt16
=
SEGPTR_NEW
(
ICOM_VTABLE
(
IMalloc16
));
msegvt16
=
SEGPTR_NEW
(
ICOM_VTABLE
(
IMalloc16
));
#define VTENT(x) msegvt16->
fn##x = (void*)GetProcAddress16(hcomp,"IMalloc16_"#x);assert(msegvt16->fn##
x)
#define VTENT(x) msegvt16->
x = (void*)GetProcAddress16(hcomp,"IMalloc16_"#x);assert(msegvt16->
x)
VTENT
(
QueryInterface
);
VTENT
(
QueryInterface
);
VTENT
(
AddRef
);
VTENT
(
AddRef
);
VTENT
(
Release
);
VTENT
(
Release
);
...
@@ -360,7 +360,7 @@ BOOL WINAPI IsValidInterface(
...
@@ -360,7 +360,7 @@ BOOL WINAPI IsValidInterface(
return
!
(
return
!
(
IsBadReadPtr
(
punk
,
4
)
||
IsBadReadPtr
(
punk
,
4
)
||
IsBadReadPtr
(
ICOM_VTBL
(
punk
),
4
)
||
IsBadReadPtr
(
ICOM_VTBL
(
punk
),
4
)
||
IsBadReadPtr
(
ICOM_VTBL
(
punk
)
->
fn
QueryInterface
,
9
)
||
IsBadReadPtr
(
ICOM_VTBL
(
punk
)
->
QueryInterface
,
9
)
||
IsBadCodePtr
(
ICOM_VTBL
(
punk
)
->
fn
QueryInterface
)
IsBadCodePtr
(
(
FARPROC
)
ICOM_VTBL
(
punk
)
->
QueryInterface
)
);
);
}
}
dlls/ole32/storage.c
View file @
a1d23f5d
...
@@ -1097,11 +1097,11 @@ HRESULT WINAPI IStream16_fnWrite(
...
@@ -1097,11 +1097,11 @@ HRESULT WINAPI IStream16_fnWrite(
static
void
_create_istream16
(
LPSTREAM16
*
str
)
{
static
void
_create_istream16
(
LPSTREAM16
*
str
)
{
IStream16Impl
*
lpst
;
IStream16Impl
*
lpst
;
if
(
!
strvt16
.
fn
QueryInterface
)
{
if
(
!
strvt16
.
QueryInterface
)
{
HMODULE16
wp
=
GetModuleHandle16
(
"STORAGE"
);
HMODULE16
wp
=
GetModuleHandle16
(
"STORAGE"
);
if
(
wp
>=
32
)
{
if
(
wp
>=
32
)
{
/* FIXME: what is This GetProcAddress16. Should the name be IStream16_QueryInterface of IStream16_fnQueryInterface */
/* FIXME: what is This GetProcAddress16. Should the name be IStream16_QueryInterface of IStream16_fnQueryInterface */
#define VTENT(xfn) strvt16.
fn##xfn = (void*)GetProcAddress16(wp,"IStream16_"#xfn);assert(strvt16.fn##
xfn)
#define VTENT(xfn) strvt16.
xfn = (void*)GetProcAddress16(wp,"IStream16_"#xfn);assert(strvt16.
xfn)
VTENT
(
QueryInterface
);
VTENT
(
QueryInterface
);
VTENT
(
AddRef
);
VTENT
(
AddRef
);
VTENT
(
Release
);
VTENT
(
Release
);
...
@@ -1121,7 +1121,7 @@ static void _create_istream16(LPSTREAM16 *str) {
...
@@ -1121,7 +1121,7 @@ static void _create_istream16(LPSTREAM16 *str) {
memcpy
(
segstrvt16
,
&
strvt16
,
sizeof
(
strvt16
));
memcpy
(
segstrvt16
,
&
strvt16
,
sizeof
(
strvt16
));
segstrvt16
=
(
ICOM_VTABLE
(
IStream16
)
*
)
SEGPTR_GET
(
segstrvt16
);
segstrvt16
=
(
ICOM_VTABLE
(
IStream16
)
*
)
SEGPTR_GET
(
segstrvt16
);
}
else
{
}
else
{
#define VTENT(xfn) strvt16.
fn##
xfn = IStream16_fn##xfn;
#define VTENT(xfn) strvt16.xfn = IStream16_fn##xfn;
VTENT
(
QueryInterface
);
VTENT
(
QueryInterface
);
VTENT
(
AddRef
);
VTENT
(
AddRef
);
VTENT
(
Release
);
VTENT
(
Release
);
...
@@ -1497,10 +1497,10 @@ HRESULT WINAPI IStorage16_fnOpenStream(
...
@@ -1497,10 +1497,10 @@ HRESULT WINAPI IStorage16_fnOpenStream(
static
void
_create_istorage16
(
LPSTORAGE16
*
stg
)
{
static
void
_create_istorage16
(
LPSTORAGE16
*
stg
)
{
IStorage16Impl
*
lpst
;
IStorage16Impl
*
lpst
;
if
(
!
stvt16
.
fn
QueryInterface
)
{
if
(
!
stvt16
.
QueryInterface
)
{
HMODULE16
wp
=
GetModuleHandle16
(
"STORAGE"
);
HMODULE16
wp
=
GetModuleHandle16
(
"STORAGE"
);
if
(
wp
>=
32
)
{
if
(
wp
>=
32
)
{
#define VTENT(xfn) stvt16.
fn##
xfn = (void*)GetProcAddress16(wp,"IStorage16_"#xfn);
#define VTENT(xfn) stvt16.xfn = (void*)GetProcAddress16(wp,"IStorage16_"#xfn);
VTENT
(
QueryInterface
)
VTENT
(
QueryInterface
)
VTENT
(
AddRef
)
VTENT
(
AddRef
)
VTENT
(
Release
)
VTENT
(
Release
)
...
@@ -1524,7 +1524,7 @@ static void _create_istorage16(LPSTORAGE16 *stg) {
...
@@ -1524,7 +1524,7 @@ static void _create_istorage16(LPSTORAGE16 *stg) {
memcpy
(
segstvt16
,
&
stvt16
,
sizeof
(
stvt16
));
memcpy
(
segstvt16
,
&
stvt16
,
sizeof
(
stvt16
));
segstvt16
=
(
ICOM_VTABLE
(
IStorage16
)
*
)
SEGPTR_GET
(
segstvt16
);
segstvt16
=
(
ICOM_VTABLE
(
IStorage16
)
*
)
SEGPTR_GET
(
segstvt16
);
}
else
{
}
else
{
#define VTENT(xfn) stvt16.
fn##
xfn = IStorage16_fn##xfn;
#define VTENT(xfn) stvt16.xfn = IStorage16_fn##xfn;
VTENT
(
QueryInterface
)
VTENT
(
QueryInterface
)
VTENT
(
AddRef
)
VTENT
(
AddRef
)
VTENT
(
Release
)
VTENT
(
Release
)
...
...
include/wine/obj_base.h
View file @
a1d23f5d
This diff is collapsed.
Click to expand it.
include/wine/obj_control.h
View file @
a1d23f5d
...
@@ -408,6 +408,10 @@ ICOM_DEFINE(IViewObjectEx,IViewObject2)
...
@@ -408,6 +408,10 @@ ICOM_DEFINE(IViewObjectEx,IViewObject2)
/*****************************************************************************
/*****************************************************************************
* IProvideClassInfo interface
* IProvideClassInfo interface
*/
*/
#ifdef __WINE__
#undef GetClassInfo
#endif
#define ICOM_INTERFACE IProvideClassInfo
#define ICOM_INTERFACE IProvideClassInfo
#define IProvideClassInfo_METHODS \
#define IProvideClassInfo_METHODS \
ICOM_METHOD1(HRESULT,GetClassInfo, ITypeInfo**,ppTI)
ICOM_METHOD1(HRESULT,GetClassInfo, ITypeInfo**,ppTI)
...
...
include/wine/obj_inplace.h
View file @
a1d23f5d
...
@@ -409,6 +409,10 @@ ICOM_DEFINE(IOleContainer,IParseDisplayName)
...
@@ -409,6 +409,10 @@ ICOM_DEFINE(IOleContainer,IParseDisplayName)
/*****************************************************************************
/*****************************************************************************
* IOleItemContainer interface
* IOleItemContainer interface
*/
*/
#ifdef __WINE__
#undef GetObject
#endif
#define ICOM_INTERFACE IOleItemContainer
#define ICOM_INTERFACE IOleItemContainer
#define IOleItemContainer_METHODS \
#define IOleItemContainer_METHODS \
ICOM_METHOD5(HRESULT,GetObject, LPOLESTR,pszItem, DWORD,dwSpeedNeeded, IBindCtx*,pbc, REFIID,riid, void**,ppvObject) \
ICOM_METHOD5(HRESULT,GetObject, LPOLESTR,pszItem, DWORD,dwSpeedNeeded, IBindCtx*,pbc, REFIID,riid, void**,ppvObject) \
...
...
include/wine/obj_moniker.h
View file @
a1d23f5d
...
@@ -298,6 +298,10 @@ ICOM_DEFINE(IRunnableObject,IUnknown)
...
@@ -298,6 +298,10 @@ ICOM_DEFINE(IRunnableObject,IUnknown)
/*****************************************************************************
/*****************************************************************************
* IRunningObjectTable interface
* IRunningObjectTable interface
*/
*/
#ifdef __WINE__
#undef GetObject
#endif
#define ICOM_INTERFACE IRunningObjectTable
#define ICOM_INTERFACE IRunningObjectTable
#define IRunningObjectTable_METHODS \
#define IRunningObjectTable_METHODS \
ICOM_METHOD4(HRESULT,Register, DWORD,grfFlags, IUnknown*,punkObject, IMoniker*,pmkObjectName, DWORD*,pdwRegister) \
ICOM_METHOD4(HRESULT,Register, DWORD,grfFlags, IUnknown*,punkObject, IMoniker*,pmkObjectName, DWORD*,pdwRegister) \
...
...
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