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
da018679
Commit
da018679
authored
Jan 21, 2011
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Drop "Thunk_" from the names of the IDirect3DMaterial* methods.
parent
cf2de431
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
42 deletions
+30
-42
material.c
dlls/ddraw/material.c
+30
-42
No files found.
dlls/ddraw/material.c
View file @
da018679
...
@@ -326,7 +326,7 @@ IDirect3DMaterialImpl_GetHandle(IDirect3DMaterial3 *iface,
...
@@ -326,7 +326,7 @@ IDirect3DMaterialImpl_GetHandle(IDirect3DMaterial3 *iface,
return
D3D_OK
;
return
D3D_OK
;
}
}
static
HRESULT
WINAPI
Thunk_
IDirect3DMaterialImpl_2_GetHandle
(
IDirect3DMaterial2
*
iface
,
static
HRESULT
WINAPI
IDirect3DMaterialImpl_2_GetHandle
(
IDirect3DMaterial2
*
iface
,
IDirect3DDevice2
*
lpDirect3DDevice2
,
D3DMATERIALHANDLE
*
lpHandle
)
IDirect3DDevice2
*
lpDirect3DDevice2
,
D3DMATERIALHANDLE
*
lpHandle
)
{
{
TRACE
(
"iface %p, device %p, handle %p.
\n
"
,
iface
,
lpDirect3DDevice2
,
lpHandle
);
TRACE
(
"iface %p, device %p, handle %p.
\n
"
,
iface
,
lpDirect3DDevice2
,
lpHandle
);
...
@@ -335,7 +335,7 @@ static HRESULT WINAPI Thunk_IDirect3DMaterialImpl_2_GetHandle(IDirect3DMaterial2
...
@@ -335,7 +335,7 @@ static HRESULT WINAPI Thunk_IDirect3DMaterialImpl_2_GetHandle(IDirect3DMaterial2
(
IDirect3DDevice3
*
)
&
device_from_device2
(
lpDirect3DDevice2
)
->
IDirect3DDevice3_vtbl
:
NULL
,
lpHandle
);
(
IDirect3DDevice3
*
)
&
device_from_device2
(
lpDirect3DDevice2
)
->
IDirect3DDevice3_vtbl
:
NULL
,
lpHandle
);
}
}
static
HRESULT
WINAPI
Thunk_
IDirect3DMaterialImpl_1_GetHandle
(
IDirect3DMaterial
*
iface
,
static
HRESULT
WINAPI
IDirect3DMaterialImpl_1_GetHandle
(
IDirect3DMaterial
*
iface
,
IDirect3DDevice
*
lpDirect3DDevice
,
D3DMATERIALHANDLE
*
lpHandle
)
IDirect3DDevice
*
lpDirect3DDevice
,
D3DMATERIALHANDLE
*
lpHandle
)
{
{
TRACE
(
"iface %p, device %p, handle %p.
\n
"
,
iface
,
lpDirect3DDevice
,
lpHandle
);
TRACE
(
"iface %p, device %p, handle %p.
\n
"
,
iface
,
lpDirect3DDevice
,
lpHandle
);
...
@@ -344,88 +344,76 @@ static HRESULT WINAPI Thunk_IDirect3DMaterialImpl_1_GetHandle(IDirect3DMaterial
...
@@ -344,88 +344,76 @@ static HRESULT WINAPI Thunk_IDirect3DMaterialImpl_1_GetHandle(IDirect3DMaterial
(
IDirect3DDevice3
*
)
&
device_from_device1
(
lpDirect3DDevice
)
->
IDirect3DDevice3_vtbl
:
NULL
,
lpHandle
);
(
IDirect3DDevice3
*
)
&
device_from_device1
(
lpDirect3DDevice
)
->
IDirect3DDevice3_vtbl
:
NULL
,
lpHandle
);
}
}
static
HRESULT
WINAPI
static
HRESULT
WINAPI
IDirect3DMaterialImpl_2_QueryInterface
(
LPDIRECT3DMATERIAL2
iface
,
REFIID
riid
,
Thunk_IDirect3DMaterialImpl_2_QueryInterface
(
LPDIRECT3DMATERIAL2
iface
,
LPVOID
*
obp
)
REFIID
riid
,
LPVOID
*
obp
)
{
{
TRACE
(
"iface %p, riid %s, object %p.
\n
"
,
iface
,
debugstr_guid
(
riid
),
obp
);
TRACE
(
"iface %p, riid %s, object %p.
\n
"
,
iface
,
debugstr_guid
(
riid
),
obp
);
return
IDirect3DMaterial3_QueryInterface
((
IDirect3DMaterial3
*
)
material_from_material2
(
iface
),
riid
,
obp
);
return
IDirect3DMaterial3_QueryInterface
((
IDirect3DMaterial3
*
)
material_from_material2
(
iface
),
riid
,
obp
);
}
}
static
HRESULT
WINAPI
static
HRESULT
WINAPI
IDirect3DMaterialImpl_1_QueryInterface
(
LPDIRECT3DMATERIAL
iface
,
REFIID
riid
,
Thunk_IDirect3DMaterialImpl_1_QueryInterface
(
LPDIRECT3DMATERIAL
iface
,
LPVOID
*
obp
)
REFIID
riid
,
LPVOID
*
obp
)
{
{
TRACE
(
"iface %p, riid %s, object %p.
\n
"
,
iface
,
debugstr_guid
(
riid
),
obp
);
TRACE
(
"iface %p, riid %s, object %p.
\n
"
,
iface
,
debugstr_guid
(
riid
),
obp
);
return
IDirect3DMaterial3_QueryInterface
((
IDirect3DMaterial3
*
)
material_from_material1
(
iface
),
riid
,
obp
);
return
IDirect3DMaterial3_QueryInterface
((
IDirect3DMaterial3
*
)
material_from_material1
(
iface
),
riid
,
obp
);
}
}
static
ULONG
WINAPI
static
ULONG
WINAPI
IDirect3DMaterialImpl_2_AddRef
(
LPDIRECT3DMATERIAL2
iface
)
Thunk_IDirect3DMaterialImpl_2_AddRef
(
LPDIRECT3DMATERIAL2
iface
)
{
{
TRACE
(
"iface %p.
\n
"
,
iface
);
TRACE
(
"iface %p.
\n
"
,
iface
);
return
IDirect3DMaterial3_AddRef
((
IDirect3DMaterial3
*
)
material_from_material2
(
iface
));
return
IDirect3DMaterial3_AddRef
((
IDirect3DMaterial3
*
)
material_from_material2
(
iface
));
}
}
static
ULONG
WINAPI
static
ULONG
WINAPI
IDirect3DMaterialImpl_1_AddRef
(
LPDIRECT3DMATERIAL
iface
)
Thunk_IDirect3DMaterialImpl_1_AddRef
(
LPDIRECT3DMATERIAL
iface
)
{
{
TRACE
(
"iface %p.
\n
"
,
iface
);
TRACE
(
"iface %p.
\n
"
,
iface
);
return
IDirect3DMaterial3_AddRef
((
IDirect3DMaterial3
*
)
material_from_material1
(
iface
));
return
IDirect3DMaterial3_AddRef
((
IDirect3DMaterial3
*
)
material_from_material1
(
iface
));
}
}
static
ULONG
WINAPI
static
ULONG
WINAPI
IDirect3DMaterialImpl_2_Release
(
LPDIRECT3DMATERIAL2
iface
)
Thunk_IDirect3DMaterialImpl_2_Release
(
LPDIRECT3DMATERIAL2
iface
)
{
{
TRACE
(
"iface %p.
\n
"
,
iface
);
TRACE
(
"iface %p.
\n
"
,
iface
);
return
IDirect3DMaterial3_Release
((
IDirect3DMaterial3
*
)
material_from_material2
(
iface
));
return
IDirect3DMaterial3_Release
((
IDirect3DMaterial3
*
)
material_from_material2
(
iface
));
}
}
static
ULONG
WINAPI
static
ULONG
WINAPI
IDirect3DMaterialImpl_1_Release
(
LPDIRECT3DMATERIAL
iface
)
Thunk_IDirect3DMaterialImpl_1_Release
(
LPDIRECT3DMATERIAL
iface
)
{
{
TRACE
(
"iface %p.
\n
"
,
iface
);
TRACE
(
"iface %p.
\n
"
,
iface
);
return
IDirect3DMaterial3_Release
((
IDirect3DMaterial3
*
)
material_from_material1
(
iface
));
return
IDirect3DMaterial3_Release
((
IDirect3DMaterial3
*
)
material_from_material1
(
iface
));
}
}
static
HRESULT
WINAPI
static
HRESULT
WINAPI
IDirect3DMaterialImpl_2_SetMaterial
(
LPDIRECT3DMATERIAL2
iface
,
Thunk_IDirect3DMaterialImpl_2_SetMaterial
(
LPDIRECT3DMATERIAL2
iface
,
LPD3DMATERIAL
lpMat
)
LPD3DMATERIAL
lpMat
)
{
{
TRACE
(
"iface %p, material %p.
\n
"
,
iface
,
lpMat
);
TRACE
(
"iface %p, material %p.
\n
"
,
iface
,
lpMat
);
return
IDirect3DMaterial3_SetMaterial
((
IDirect3DMaterial3
*
)
material_from_material2
(
iface
),
lpMat
);
return
IDirect3DMaterial3_SetMaterial
((
IDirect3DMaterial3
*
)
material_from_material2
(
iface
),
lpMat
);
}
}
static
HRESULT
WINAPI
static
HRESULT
WINAPI
IDirect3DMaterialImpl_1_SetMaterial
(
LPDIRECT3DMATERIAL
iface
,
Thunk_IDirect3DMaterialImpl_1_SetMaterial
(
LPDIRECT3DMATERIAL
iface
,
LPD3DMATERIAL
lpMat
)
LPD3DMATERIAL
lpMat
)
{
{
TRACE
(
"iface %p, material %p.
\n
"
,
iface
,
lpMat
);
TRACE
(
"iface %p, material %p.
\n
"
,
iface
,
lpMat
);
return
IDirect3DMaterial3_SetMaterial
((
IDirect3DMaterial3
*
)
material_from_material1
(
iface
),
lpMat
);
return
IDirect3DMaterial3_SetMaterial
((
IDirect3DMaterial3
*
)
material_from_material1
(
iface
),
lpMat
);
}
}
static
HRESULT
WINAPI
static
HRESULT
WINAPI
IDirect3DMaterialImpl_2_GetMaterial
(
LPDIRECT3DMATERIAL2
iface
,
Thunk_IDirect3DMaterialImpl_2_GetMaterial
(
LPDIRECT3DMATERIAL2
iface
,
LPD3DMATERIAL
lpMat
)
LPD3DMATERIAL
lpMat
)
{
{
TRACE
(
"iface %p, material %p.
\n
"
,
iface
,
lpMat
);
TRACE
(
"iface %p, material %p.
\n
"
,
iface
,
lpMat
);
return
IDirect3DMaterial3_GetMaterial
((
IDirect3DMaterial3
*
)
material_from_material2
(
iface
),
lpMat
);
return
IDirect3DMaterial3_GetMaterial
((
IDirect3DMaterial3
*
)
material_from_material2
(
iface
),
lpMat
);
}
}
static
HRESULT
WINAPI
static
HRESULT
WINAPI
IDirect3DMaterialImpl_1_GetMaterial
(
LPDIRECT3DMATERIAL
iface
,
Thunk_IDirect3DMaterialImpl_1_GetMaterial
(
LPDIRECT3DMATERIAL
iface
,
LPD3DMATERIAL
lpMat
)
LPD3DMATERIAL
lpMat
)
{
{
TRACE
(
"iface %p, material %p.
\n
"
,
iface
,
lpMat
);
TRACE
(
"iface %p, material %p.
\n
"
,
iface
,
lpMat
);
...
@@ -471,26 +459,26 @@ static const struct IDirect3DMaterial3Vtbl d3d_material3_vtbl =
...
@@ -471,26 +459,26 @@ static const struct IDirect3DMaterial3Vtbl d3d_material3_vtbl =
static
const
struct
IDirect3DMaterial2Vtbl
d3d_material2_vtbl
=
static
const
struct
IDirect3DMaterial2Vtbl
d3d_material2_vtbl
=
{
{
/*** IUnknown Methods ***/
/*** IUnknown Methods ***/
Thunk_
IDirect3DMaterialImpl_2_QueryInterface
,
IDirect3DMaterialImpl_2_QueryInterface
,
Thunk_
IDirect3DMaterialImpl_2_AddRef
,
IDirect3DMaterialImpl_2_AddRef
,
Thunk_
IDirect3DMaterialImpl_2_Release
,
IDirect3DMaterialImpl_2_Release
,
/*** IDirect3DMaterial2 Methods ***/
/*** IDirect3DMaterial2 Methods ***/
Thunk_
IDirect3DMaterialImpl_2_SetMaterial
,
IDirect3DMaterialImpl_2_SetMaterial
,
Thunk_
IDirect3DMaterialImpl_2_GetMaterial
,
IDirect3DMaterialImpl_2_GetMaterial
,
Thunk_
IDirect3DMaterialImpl_2_GetHandle
,
IDirect3DMaterialImpl_2_GetHandle
,
};
};
static
const
struct
IDirect3DMaterialVtbl
d3d_material1_vtbl
=
static
const
struct
IDirect3DMaterialVtbl
d3d_material1_vtbl
=
{
{
/*** IUnknown Methods ***/
/*** IUnknown Methods ***/
Thunk_
IDirect3DMaterialImpl_1_QueryInterface
,
IDirect3DMaterialImpl_1_QueryInterface
,
Thunk_
IDirect3DMaterialImpl_1_AddRef
,
IDirect3DMaterialImpl_1_AddRef
,
Thunk_
IDirect3DMaterialImpl_1_Release
,
IDirect3DMaterialImpl_1_Release
,
/*** IDirect3DMaterial1 Methods ***/
/*** IDirect3DMaterial1 Methods ***/
IDirect3DMaterialImpl_Initialize
,
IDirect3DMaterialImpl_Initialize
,
Thunk_
IDirect3DMaterialImpl_1_SetMaterial
,
IDirect3DMaterialImpl_1_SetMaterial
,
Thunk_
IDirect3DMaterialImpl_1_GetMaterial
,
IDirect3DMaterialImpl_1_GetMaterial
,
Thunk_
IDirect3DMaterialImpl_1_GetHandle
,
IDirect3DMaterialImpl_1_GetHandle
,
IDirect3DMaterialImpl_Reserve
,
IDirect3DMaterialImpl_Reserve
,
IDirect3DMaterialImpl_Unreserve
IDirect3DMaterialImpl_Unreserve
};
};
...
...
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