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
be6b54f5
Commit
be6b54f5
authored
Aug 20, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Aug 20, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Avoid LPUNKNOWN.
parent
19b8ba0c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
89 additions
and
147 deletions
+89
-147
d3drm.c
dlls/d3drm/d3drm.c
+12
-17
device.c
dlls/d3drm/device.c
+9
-18
face.c
dlls/d3drm/face.c
+6
-11
frame.c
dlls/d3drm/frame.c
+20
-28
light.c
dlls/d3drm/light.c
+3
-6
material.c
dlls/d3drm/material.c
+3
-4
meshbuilder.c
dlls/d3drm/meshbuilder.c
+19
-38
texture.c
dlls/d3drm/texture.c
+6
-8
viewport.c
dlls/d3drm/viewport.c
+6
-12
d3drm.h
include/d3drm.h
+3
-3
d3drmdef.h
include/d3drmdef.h
+1
-1
d3drmobj.h
include/d3drmobj.h
+0
-0
d3drmwin.h
include/d3drmwin.h
+1
-1
No files found.
dlls/d3drm/d3drm.c
View file @
be6b54f5
...
...
@@ -128,11 +128,11 @@ static ULONG WINAPI IDirect3DRMImpl_Release(IDirect3DRM* iface)
}
/*** IDirect3DRM methods ***/
static
HRESULT
WINAPI
IDirect3DRMImpl_CreateObject
(
IDirect3DRM
*
iface
,
REFCLSID
rclsid
,
LPUNKNOWN
pUnkOuter
,
REFIID
riid
,
LPVOID
*
ppvObj
)
static
HRESULT
WINAPI
IDirect3DRMImpl_CreateObject
(
IDirect3DRM
*
iface
,
REFCLSID
clsid
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM
(
iface
);
FIXME
(
"(%p/%p)->(%s,%p,%s,%p): stub
\n
"
,
iface
,
This
,
debugstr_guid
(
rclsid
),
pUnkOuter
,
debugstr_guid
(
riid
),
ppvObj
);
FIXME
(
"iface %p, clsid %s, outer %p, iid %s, out %p stub!
\n
"
,
iface
,
debugstr_guid
(
clsid
),
outer
,
debugstr_guid
(
iid
),
out
);
return
E_NOTIMPL
;
}
...
...
@@ -492,14 +492,11 @@ static ULONG WINAPI IDirect3DRM2Impl_Release(IDirect3DRM2* iface)
}
/*** IDirect3DRM2 methods ***/
static
HRESULT
WINAPI
IDirect3DRM2Impl_CreateObject
(
IDirect3DRM2
*
iface
,
REFCLSID
rclsid
,
LPUNKNOWN
pUnkOuter
,
REFIID
riid
,
LPVOID
*
ppvObj
)
static
HRESULT
WINAPI
IDirect3DRM2Impl_CreateObject
(
IDirect3DRM2
*
iface
,
REFCLSID
clsid
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM2
(
iface
);
FIXME
(
"(%p/%p)->(%s,%p,%s,%p): stub
\n
"
,
iface
,
This
,
debugstr_guid
(
rclsid
),
pUnkOuter
,
debugstr_guid
(
riid
),
ppvObj
);
FIXME
(
"iface %p, clsid %s, outer %p, iid %s, out %p stub!
\n
"
,
iface
,
debugstr_guid
(
clsid
),
outer
,
debugstr_guid
(
iid
),
out
);
return
E_NOTIMPL
;
}
...
...
@@ -872,13 +869,11 @@ static ULONG WINAPI IDirect3DRM3Impl_Release(IDirect3DRM3* iface)
}
/*** IDirect3DRM3 methods ***/
static
HRESULT
WINAPI
IDirect3DRM3Impl_CreateObject
(
IDirect3DRM3
*
iface
,
REFCLSID
rclsid
,
LPUNKNOWN
unkwn
,
REFIID
riid
,
LPVOID
*
objec
t
)
static
HRESULT
WINAPI
IDirect3DRM3Impl_CreateObject
(
IDirect3DRM3
*
iface
,
REFCLSID
clsid
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
ou
t
)
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM3
(
iface
);
FIXME
(
"(%p/%p)->(%s,%p,%s,%p): stub
\n
"
,
iface
,
This
,
debugstr_guid
(
rclsid
),
unkwn
,
debugstr_guid
(
riid
),
object
);
FIXME
(
"iface %p, clsid %s, outer %p, iid %s, out %p stub!
\n
"
,
iface
,
debugstr_guid
(
clsid
),
outer
,
debugstr_guid
(
iid
),
out
);
return
E_NOTIMPL
;
}
...
...
dlls/d3drm/device.c
View file @
be6b54f5
...
...
@@ -119,13 +119,10 @@ static ULONG WINAPI IDirect3DRMDevice2Impl_Release(IDirect3DRMDevice2* iface)
}
/*** IDirect3DRMObject methods ***/
static
HRESULT
WINAPI
IDirect3DRMDevice2Impl_Clone
(
IDirect3DRMDevice2
*
iface
,
LPUNKNOWN
unkwn
,
REFIID
riid
,
LPVOID
*
object
)
static
HRESULT
WINAPI
IDirect3DRMDevice2Impl_Clone
(
IDirect3DRMDevice2
*
iface
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMDevice2
(
iface
);
FIXME
(
"(%p/%p)->(%p, %s, %p): stub
\n
"
,
iface
,
This
,
unkwn
,
debugstr_guid
(
riid
),
object
);
FIXME
(
"iface %p, outer %p, iid %s, out %p stub!
\n
"
,
iface
,
outer
,
debugstr_guid
(
iid
),
out
);
return
E_NOTIMPL
;
}
...
...
@@ -534,13 +531,10 @@ static ULONG WINAPI IDirect3DRMDevice3Impl_Release(IDirect3DRMDevice3* iface)
}
/*** IDirect3DRMObject methods ***/
static
HRESULT
WINAPI
IDirect3DRMDevice3Impl_Clone
(
IDirect3DRMDevice3
*
iface
,
LPUNKNOWN
unkwn
,
REFIID
riid
,
LPVOID
*
object
)
static
HRESULT
WINAPI
IDirect3DRMDevice3Impl_Clone
(
IDirect3DRMDevice3
*
iface
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMDevice3
(
iface
);
FIXME
(
"(%p/%p)->(%p, %s, %p): stub
\n
"
,
iface
,
This
,
unkwn
,
debugstr_guid
(
riid
),
object
);
FIXME
(
"iface %p, outer %p, iid %s, out %p stub!
\n
"
,
iface
,
outer
,
debugstr_guid
(
iid
),
out
);
return
E_NOTIMPL
;
}
...
...
@@ -1027,13 +1021,10 @@ static ULONG WINAPI IDirect3DRMWinDeviceImpl_Release(IDirect3DRMWinDevice* iface
}
/*** IDirect3DRMObject methods ***/
static
HRESULT
WINAPI
IDirect3DRMWinDeviceImpl_Clone
(
IDirect3DRMWinDevice
*
iface
,
LPUNKNOWN
unkwn
,
REFIID
riid
,
LPVOID
*
object
)
static
HRESULT
WINAPI
IDirect3DRMWinDeviceImpl_Clone
(
IDirect3DRMWinDevice
*
iface
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMWinDevice
(
iface
);
FIXME
(
"(%p/%p)->(%p, %s, %p): stub
\n
"
,
iface
,
This
,
unkwn
,
debugstr_guid
(
riid
),
object
);
FIXME
(
"iface %p, outer %p, iid %s, out %p stub!
\n
"
,
iface
,
outer
,
debugstr_guid
(
iid
),
out
);
return
E_NOTIMPL
;
}
...
...
dlls/d3drm/face.c
View file @
be6b54f5
...
...
@@ -102,12 +102,10 @@ static ULONG WINAPI IDirect3DRMFaceImpl_Release(IDirect3DRMFace* iface)
}
/*** IDirect3DRMObject methods ***/
static
HRESULT
WINAPI
IDirect3DRMFaceImpl_Clone
(
IDirect3DRMFace
*
iface
,
LPUNKNOWN
unkwn
,
REFIID
riid
,
LPVOID
*
objec
t
)
static
HRESULT
WINAPI
IDirect3DRMFaceImpl_Clone
(
IDirect3DRMFace
*
iface
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
ou
t
)
{
IDirect3DRMFaceImpl
*
This
=
impl_from_IDirect3DRMFace
(
iface
);
FIXME
(
"(%p/%p)->(%p, %s, %p): stub
\n
"
,
iface
,
This
,
unkwn
,
debugstr_guid
(
riid
),
object
);
FIXME
(
"iface %p, outer %p, iid %s, out %p stub!
\n
"
,
iface
,
outer
,
debugstr_guid
(
iid
),
out
);
return
E_NOTIMPL
;
}
...
...
@@ -426,13 +424,10 @@ static ULONG WINAPI IDirect3DRMFace2Impl_Release(IDirect3DRMFace2* iface)
}
/*** IDirect3DRMObject methods ***/
static
HRESULT
WINAPI
IDirect3DRMFace2Impl_Clone
(
IDirect3DRMFace2
*
iface
,
LPUNKNOWN
unkwn
,
REFIID
riid
,
LPVOID
*
object
)
static
HRESULT
WINAPI
IDirect3DRMFace2Impl_Clone
(
IDirect3DRMFace2
*
iface
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
{
IDirect3DRMFaceImpl
*
This
=
impl_from_IDirect3DRMFace2
(
iface
);
FIXME
(
"(%p/%p)->(%p, %s, %p): stub
\n
"
,
iface
,
This
,
unkwn
,
debugstr_guid
(
riid
),
object
);
FIXME
(
"iface %p, outer %p, iid %s, out %p stub!
\n
"
,
iface
,
outer
,
debugstr_guid
(
iid
),
out
);
return
E_NOTIMPL
;
}
...
...
dlls/d3drm/frame.c
View file @
be6b54f5
...
...
@@ -512,13 +512,10 @@ static ULONG WINAPI IDirect3DRMFrame2Impl_Release(IDirect3DRMFrame2* iface)
}
/*** IDirect3DRMObject methods ***/
static
HRESULT
WINAPI
IDirect3DRMFrame2Impl_Clone
(
IDirect3DRMFrame2
*
iface
,
LPUNKNOWN
unkwn
,
REFIID
riid
,
LPVOID
*
object
)
static
HRESULT
WINAPI
IDirect3DRMFrame2Impl_Clone
(
IDirect3DRMFrame2
*
iface
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
{
IDirect3DRMFrameImpl
*
This
=
impl_from_IDirect3DRMFrame2
(
iface
);
FIXME
(
"(%p/%p)->(%p, %s, %p): stub
\n
"
,
iface
,
This
,
unkwn
,
debugstr_guid
(
riid
),
object
);
FIXME
(
"iface %p, outer %p, iid %s, out %p stub!
\n
"
,
iface
,
outer
,
debugstr_guid
(
iid
),
out
);
return
E_NOTIMPL
;
}
...
...
@@ -1373,13 +1370,10 @@ static ULONG WINAPI IDirect3DRMFrame3Impl_Release(IDirect3DRMFrame3* iface)
}
/*** IDirect3DRMObject methods ***/
static
HRESULT
WINAPI
IDirect3DRMFrame3Impl_Clone
(
IDirect3DRMFrame3
*
iface
,
LPUNKNOWN
unkwn
,
REFIID
riid
,
LPVOID
*
object
)
static
HRESULT
WINAPI
IDirect3DRMFrame3Impl_Clone
(
IDirect3DRMFrame3
*
iface
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
{
IDirect3DRMFrameImpl
*
This
=
impl_from_IDirect3DRMFrame3
(
iface
);
FIXME
(
"(%p/%p)->(%p, %s, %p): stub
\n
"
,
iface
,
This
,
unkwn
,
debugstr_guid
(
riid
),
object
);
FIXME
(
"iface %p, outer %p, iid %s, out %p stub!
\n
"
,
iface
,
outer
,
debugstr_guid
(
iid
),
out
);
return
E_NOTIMPL
;
}
...
...
@@ -1636,20 +1630,20 @@ static HRESULT WINAPI IDirect3DRMFrame3Impl_AddRotation(IDirect3DRMFrame3* iface
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirect3DRMFrame3Impl_AddVisual
(
IDirect3DRMFrame3
*
iface
,
LPUNKNOWN
vis
)
static
HRESULT
WINAPI
IDirect3DRMFrame3Impl_AddVisual
(
IDirect3DRMFrame3
*
iface
,
IUnknown
*
visual
)
{
IDirect3DRMFrameImpl
*
This
=
impl_from_IDirect3DRMFrame3
(
iface
);
ULONG
i
;
IDirect3DRMVisual
**
visuals
;
TRACE
(
"
(%p/%p)->(%p)
\n
"
,
iface
,
This
,
vis
);
TRACE
(
"
iface %p, visual %p.
\n
"
,
iface
,
visual
);
if
(
!
vis
)
if
(
!
vis
ual
)
return
D3DRMERR_BADOBJECT
;
/* Check if already existing and return gracefully without increasing ref count */
for
(
i
=
0
;
i
<
This
->
nb_visuals
;
i
++
)
if
(
This
->
visuals
[
i
]
==
(
IDirect3DRMVisual
*
)
vis
)
if
(
This
->
visuals
[
i
]
==
(
IDirect3DRMVisual
*
)
visual
)
return
D3DRM_OK
;
if
((
This
->
nb_visuals
+
1
)
>
This
->
visuals_capacity
)
...
...
@@ -1674,8 +1668,8 @@ static HRESULT WINAPI IDirect3DRMFrame3Impl_AddVisual(IDirect3DRMFrame3* iface,
This
->
visuals
=
visuals
;
}
This
->
visuals
[
This
->
nb_visuals
++
]
=
(
IDirect3DRMVisual
*
)
vis
;
IDirect3DRMVisual_AddRef
(
vis
);
This
->
visuals
[
This
->
nb_visuals
++
]
=
(
IDirect3DRMVisual
*
)
visual
;
IDirect3DRMVisual_AddRef
(
vis
ual
);
return
D3DRM_OK
;
}
...
...
@@ -1860,12 +1854,10 @@ static HRESULT WINAPI IDirect3DRMFrame3Impl_GetOrientation(IDirect3DRMFrame3 *if
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirect3DRMFrame3Impl_GetVisuals
(
IDirect3DRMFrame3
*
iface
,
LPDWORD
num
,
LPUNKNOWN
*
visuals
)
static
HRESULT
WINAPI
IDirect3DRMFrame3Impl_GetVisuals
(
IDirect3DRMFrame3
*
iface
,
DWORD
*
count
,
IUnknown
*
*
visuals
)
{
IDirect3DRMFrameImpl
*
This
=
impl_from_IDirect3DRMFrame3
(
iface
);
FIXME
(
"(%p/%p)->(%p,%p): stub
\n
"
,
iface
,
This
,
num
,
visuals
);
FIXME
(
"iface %p, count %p, visuals %p stub!
\n
"
,
iface
,
count
,
visuals
);
return
E_NOTIMPL
;
}
...
...
@@ -1971,26 +1963,26 @@ static HRESULT WINAPI IDirect3DRMFrame3Impl_DeleteMoveCallback(IDirect3DRMFrame3
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirect3DRMFrame3Impl_DeleteVisual
(
IDirect3DRMFrame3
*
iface
,
LPUNKNOWN
vis
)
static
HRESULT
WINAPI
IDirect3DRMFrame3Impl_DeleteVisual
(
IDirect3DRMFrame3
*
iface
,
IUnknown
*
visual
)
{
IDirect3DRMFrameImpl
*
This
=
impl_from_IDirect3DRMFrame3
(
iface
);
ULONG
i
;
TRACE
(
"
(%p/%p)->(%p)
\n
"
,
iface
,
This
,
vis
);
TRACE
(
"
iface %p, visual %p.
\n
"
,
iface
,
visual
);
if
(
!
vis
)
if
(
!
vis
ual
)
return
D3DRMERR_BADOBJECT
;
/* Check if visual exists */
for
(
i
=
0
;
i
<
This
->
nb_visuals
;
i
++
)
if
(
This
->
visuals
[
i
]
==
(
IDirect3DRMVisual
*
)
vis
)
if
(
This
->
visuals
[
i
]
==
(
IDirect3DRMVisual
*
)
visual
)
break
;
if
(
i
==
This
->
nb_visuals
)
return
D3DRMERR_BADVALUE
;
memmove
(
This
->
visuals
+
i
,
This
->
visuals
+
i
+
1
,
sizeof
(
IDirect3DRMVisual
*
)
*
(
This
->
nb_visuals
-
1
-
i
));
IDirect3DRMVisual_Release
(
vis
);
IDirect3DRMVisual_Release
(
vis
ual
);
This
->
nb_visuals
--
;
return
D3DRM_OK
;
...
...
dlls/d3drm/light.c
View file @
be6b54f5
...
...
@@ -96,13 +96,10 @@ static ULONG WINAPI IDirect3DRMLightImpl_Release(IDirect3DRMLight* iface)
}
/*** IDirect3DRMObject methods ***/
static
HRESULT
WINAPI
IDirect3DRMLightImpl_Clone
(
IDirect3DRMLight
*
iface
,
LPUNKNOWN
unkwn
,
REFIID
riid
,
LPVOID
*
object
)
static
HRESULT
WINAPI
IDirect3DRMLightImpl_Clone
(
IDirect3DRMLight
*
iface
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
{
IDirect3DRMLightImpl
*
This
=
impl_from_IDirect3DRMLight
(
iface
);
FIXME
(
"(%p/%p)->(%p, %s, %p): stub
\n
"
,
iface
,
This
,
unkwn
,
debugstr_guid
(
riid
),
object
);
FIXME
(
"iface %p, outer %p, iid %s, out %p stub!
\n
"
,
iface
,
outer
,
debugstr_guid
(
iid
),
out
);
return
E_NOTIMPL
;
}
...
...
dlls/d3drm/material.c
View file @
be6b54f5
...
...
@@ -100,11 +100,10 @@ static ULONG WINAPI IDirect3DRMMaterial2Impl_Release(IDirect3DRMMaterial2* iface
}
/*** IDirect3DRMObject methods ***/
static
HRESULT
WINAPI
IDirect3DRMMaterial2Impl_Clone
(
IDirect3DRMMaterial2
*
iface
,
LPUNKNOWN
unknown
,
REFIID
riid
,
LPVOID
*
object
)
static
HRESULT
WINAPI
IDirect3DRMMaterial2Impl_Clone
(
IDirect3DRMMaterial2
*
iface
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
{
FIXME
(
"
(%p)->(%p, %s, %p): stub
\n
"
,
iface
,
unknown
,
debugstr_guid
(
riid
),
objec
t
);
FIXME
(
"
iface %p, outer %p, iid %s, out %p stub!
\n
"
,
iface
,
outer
,
debugstr_guid
(
iid
),
ou
t
);
return
E_NOTIMPL
;
}
...
...
dlls/d3drm/meshbuilder.c
View file @
be6b54f5
...
...
@@ -415,13 +415,10 @@ static ULONG WINAPI IDirect3DRMMeshBuilder2Impl_Release(IDirect3DRMMeshBuilder2*
}
/*** IDirect3DRMObject methods ***/
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder2Impl_Clone
(
IDirect3DRMMeshBuilder2
*
iface
,
LPUNKNOWN
pUnkOuter
,
REFIID
riid
,
LPVOID
*
ppvObj
)
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder2Impl_Clone
(
IDirect3DRMMeshBuilder2
*
iface
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
{
IDirect3DRMMeshBuilderImpl
*
This
=
impl_from_IDirect3DRMMeshBuilder2
(
iface
);
FIXME
(
"(%p)->(%p,%s,%p): stub
\n
"
,
This
,
pUnkOuter
,
debugstr_guid
(
riid
),
ppvObj
);
FIXME
(
"iface %p, outer %p, iid %s, out %p stub!
\n
"
,
iface
,
outer
,
debugstr_guid
(
iid
),
out
);
return
E_NOTIMPL
;
}
...
...
@@ -1003,13 +1000,10 @@ static ULONG WINAPI IDirect3DRMMeshBuilder3Impl_Release(IDirect3DRMMeshBuilder3*
}
/*** IDirect3DRMObject methods ***/
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder3Impl_Clone
(
IDirect3DRMMeshBuilder3
*
iface
,
LPUNKNOWN
pUnkOuter
,
REFIID
riid
,
LPVOID
*
ppvObj
)
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder3Impl_Clone
(
IDirect3DRMMeshBuilder3
*
iface
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
{
IDirect3DRMMeshBuilderImpl
*
This
=
impl_from_IDirect3DRMMeshBuilder3
(
iface
);
FIXME
(
"(%p)->(%p,%s,%p): stub
\n
"
,
This
,
pUnkOuter
,
debugstr_guid
(
riid
),
ppvObj
);
FIXME
(
"iface %p, outer %p, iid %s, out %p stub!
\n
"
,
iface
,
outer
,
debugstr_guid
(
iid
),
out
);
return
E_NOTIMPL
;
}
...
...
@@ -2262,42 +2256,32 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder3Impl_AddFacesIndexed(IDirect3DRMMes
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder3Impl_CreateSubMesh
(
IDirect3DRMMeshBuilder3
*
iface
,
LPUNKNOWN
*
unkwn
)
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder3Impl_CreateSubMesh
(
IDirect3DRMMeshBuilder3
*
iface
,
IUnknown
**
mesh
)
{
IDirect3DRMMeshBuilderImpl
*
This
=
impl_from_IDirect3DRMMeshBuilder3
(
iface
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
unkwn
);
FIXME
(
"iface %p, mesh %p stub!
\n
"
,
iface
,
mesh
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder3Impl_GetParentMesh
(
IDirect3DRMMeshBuilder3
*
iface
,
DWORD
flags
,
LPUNKNOWN
*
unkwn
)
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder3Impl_GetParentMesh
(
IDirect3DRMMeshBuilder3
*
iface
,
DWORD
flags
,
IUnknown
**
parent
)
{
IDirect3DRMMeshBuilderImpl
*
This
=
impl_from_IDirect3DRMMeshBuilder3
(
iface
);
FIXME
(
"(%p)->(%u,%p): stub
\n
"
,
This
,
flags
,
unkwn
);
FIXME
(
"iface %p, flags %#x, parent %p stub!
\n
"
,
iface
,
flags
,
parent
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder3Impl_GetSubMeshes
(
IDirect3DRMMeshBuilder3
*
iface
,
LPDWORD
count
,
LPUNKNOWN
*
unkwn
)
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder3Impl_GetSubMeshes
(
IDirect3DRMMeshBuilder3
*
iface
,
DWORD
*
count
,
IUnknown
**
meshes
)
{
IDirect3DRMMeshBuilderImpl
*
This
=
impl_from_IDirect3DRMMeshBuilder3
(
iface
);
FIXME
(
"(%p)->(%p,%p): stub
\n
"
,
This
,
count
,
unkwn
);
FIXME
(
"iface %p, count %p, meshes %p stub!
\n
"
,
iface
,
count
,
meshes
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder3Impl_DeleteSubMesh
(
IDirect3DRMMeshBuilder3
*
iface
,
LPUNKNOWN
unkwn
)
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder3Impl_DeleteSubMesh
(
IDirect3DRMMeshBuilder3
*
iface
,
IUnknown
*
mesh
)
{
IDirect3DRMMeshBuilderImpl
*
This
=
impl_from_IDirect3DRMMeshBuilder3
(
iface
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
unkwn
);
FIXME
(
"iface %p, mesh %p stub!
\n
"
,
iface
,
mesh
);
return
E_NOTIMPL
;
}
...
...
@@ -2556,13 +2540,10 @@ static ULONG WINAPI IDirect3DRMMeshImpl_Release(IDirect3DRMMesh* iface)
}
/*** IDirect3DRMObject methods ***/
static
HRESULT
WINAPI
IDirect3DRMMeshImpl_Clone
(
IDirect3DRMMesh
*
iface
,
LPUNKNOWN
pUnkOuter
,
REFIID
riid
,
LPVOID
*
ppvObj
)
static
HRESULT
WINAPI
IDirect3DRMMeshImpl_Clone
(
IDirect3DRMMesh
*
iface
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
{
IDirect3DRMMeshImpl
*
This
=
impl_from_IDirect3DRMMesh
(
iface
);
FIXME
(
"(%p)->(%p,%s,%p): stub
\n
"
,
This
,
pUnkOuter
,
debugstr_guid
(
riid
),
ppvObj
);
FIXME
(
"iface %p, outer %p, iid %s, out %p stub!
\n
"
,
iface
,
outer
,
debugstr_guid
(
iid
),
out
);
return
E_NOTIMPL
;
}
...
...
dlls/d3drm/texture.c
View file @
be6b54f5
...
...
@@ -101,11 +101,10 @@ static ULONG WINAPI IDirect3DRMTexture2Impl_Release(IDirect3DRMTexture2* iface)
}
/*** IDirect3DRMObject methods ***/
static
HRESULT
WINAPI
IDirect3DRMTexture2Impl_Clone
(
IDirect3DRMTexture2
*
iface
,
LPUNKNOWN
unknown
,
REFIID
riid
,
LPVOID
*
object
)
static
HRESULT
WINAPI
IDirect3DRMTexture2Impl_Clone
(
IDirect3DRMTexture2
*
iface
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
{
FIXME
(
"
(%p)->(%p, %s, %p): stub
\n
"
,
iface
,
unknown
,
debugstr_guid
(
riid
),
objec
t
);
FIXME
(
"
iface %p, outer %p, iid %s, out %p stub!
\n
"
,
iface
,
outer
,
debugstr_guid
(
iid
),
ou
t
);
return
E_NOTIMPL
;
}
...
...
@@ -470,11 +469,10 @@ static ULONG WINAPI IDirect3DRMTexture3Impl_Release(IDirect3DRMTexture3* iface)
}
/*** IDirect3DRMObject methods ***/
static
HRESULT
WINAPI
IDirect3DRMTexture3Impl_Clone
(
IDirect3DRMTexture3
*
iface
,
LPUNKNOWN
unknown
,
REFIID
riid
,
LPVOID
*
object
)
static
HRESULT
WINAPI
IDirect3DRMTexture3Impl_Clone
(
IDirect3DRMTexture3
*
iface
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
{
FIXME
(
"
(%p)->(%p, %s, %p): stub
\n
"
,
iface
,
unknown
,
debugstr_guid
(
riid
),
objec
t
);
FIXME
(
"
iface %p, outer %p, iid %s, out %p stub!
\n
"
,
iface
,
outer
,
debugstr_guid
(
iid
),
ou
t
);
return
E_NOTIMPL
;
}
...
...
dlls/d3drm/viewport.c
View file @
be6b54f5
...
...
@@ -105,13 +105,10 @@ static ULONG WINAPI IDirect3DRMViewportImpl_Release(IDirect3DRMViewport* iface)
}
/*** IDirect3DRMObject methods ***/
static
HRESULT
WINAPI
IDirect3DRMViewportImpl_Clone
(
IDirect3DRMViewport
*
iface
,
LPUNKNOWN
unkwn
,
REFIID
riid
,
LPVOID
*
object
)
static
HRESULT
WINAPI
IDirect3DRMViewportImpl_Clone
(
IDirect3DRMViewport
*
iface
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
{
IDirect3DRMViewportImpl
*
This
=
impl_from_IDirect3DRMViewport
(
iface
);
FIXME
(
"(%p/%p)->(%p, %s, %p): stub
\n
"
,
iface
,
This
,
unkwn
,
debugstr_guid
(
riid
),
object
);
FIXME
(
"iface %p, outer %p, iid %s, out %p stub!
\n
"
,
iface
,
outer
,
debugstr_guid
(
iid
),
out
);
return
E_NOTIMPL
;
}
...
...
@@ -508,13 +505,10 @@ static ULONG WINAPI IDirect3DRMViewport2Impl_Release(IDirect3DRMViewport2* iface
}
/*** IDirect3DRMObject methods ***/
static
HRESULT
WINAPI
IDirect3DRMViewport2Impl_Clone
(
IDirect3DRMViewport2
*
iface
,
LPUNKNOWN
unkwn
,
REFIID
riid
,
LPVOID
*
object
)
static
HRESULT
WINAPI
IDirect3DRMViewport2Impl_Clone
(
IDirect3DRMViewport2
*
iface
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
{
IDirect3DRMViewportImpl
*
This
=
impl_from_IDirect3DRMViewport2
(
iface
);
FIXME
(
"(%p/%p)->(%p, %s, %p): stub
\n
"
,
iface
,
This
,
unkwn
,
debugstr_guid
(
riid
),
object
);
FIXME
(
"iface %p, outer %p, iid %s, out %p stub!
\n
"
,
iface
,
outer
,
debugstr_guid
(
iid
),
out
);
return
E_NOTIMPL
;
}
...
...
include/d3drm.h
View file @
be6b54f5
...
...
@@ -57,7 +57,7 @@ DECLARE_INTERFACE_(IDirect3DRM,IUnknown)
STDMETHOD_
(
ULONG
,
AddRef
)(
THIS
)
PURE
;
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
/*** IDirect3DRM methods ***/
STDMETHOD
(
CreateObject
)(
THIS_
REFCLSID
rclsid
,
LPUNKNOWN
pUnkOuter
,
REFIID
riid
,
LPVOID
*
ppvObj
)
PURE
;
STDMETHOD
(
CreateObject
)(
THIS_
REFCLSID
clsid
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
PURE
;
STDMETHOD
(
CreateFrame
)(
THIS_
IDirect3DRMFrame
*
parent
,
IDirect3DRMFrame
**
frame
)
PURE
;
STDMETHOD
(
CreateMesh
)(
THIS_
IDirect3DRMMesh
**
mesh
)
PURE
;
STDMETHOD
(
CreateMeshBuilder
)(
THIS_
IDirect3DRMMeshBuilder
**
mesh_builder
)
PURE
;
...
...
@@ -196,7 +196,7 @@ DECLARE_INTERFACE_(IDirect3DRM2,IUnknown)
STDMETHOD_
(
ULONG
,
AddRef
)(
THIS
)
PURE
;
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
/*** IDirect3DRM2 methods ***/
STDMETHOD
(
CreateObject
)(
THIS_
REFCLSID
rclsid
,
LPUNKNOWN
pUnkOuter
,
REFIID
riid
,
LPVOID
*
ppvObj
)
PURE
;
STDMETHOD
(
CreateObject
)(
THIS_
REFCLSID
clsid
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
PURE
;
STDMETHOD
(
CreateFrame
)(
THIS_
IDirect3DRMFrame
*
parent
,
IDirect3DRMFrame2
**
frame
)
PURE
;
STDMETHOD
(
CreateMesh
)(
THIS_
IDirect3DRMMesh
**
mesh
)
PURE
;
STDMETHOD
(
CreateMeshBuilder
)(
THIS_
IDirect3DRMMeshBuilder2
**
mesh_builder
)
PURE
;
...
...
@@ -339,7 +339,7 @@ DECLARE_INTERFACE_(IDirect3DRM3,IUnknown)
STDMETHOD_
(
ULONG
,
AddRef
)(
THIS
)
PURE
;
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
/*** IDirect3DRM2 methods ***/
STDMETHOD
(
CreateObject
)(
THIS_
REFCLSID
rclsid
,
LPUNKNOWN
pUnkOuter
,
REFIID
riid
,
LPVOID
*
ppvObj
)
PURE
;
STDMETHOD
(
CreateObject
)(
THIS_
REFCLSID
clsid
,
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
PURE
;
STDMETHOD
(
CreateFrame
)(
THIS_
IDirect3DRMFrame3
*
parent
,
IDirect3DRMFrame3
**
frame
)
PURE
;
STDMETHOD
(
CreateMesh
)(
THIS_
IDirect3DRMMesh
**
mesh
)
PURE
;
STDMETHOD
(
CreateMeshBuilder
)(
THIS_
IDirect3DRMMeshBuilder3
**
mesh_builder
)
PURE
;
...
...
include/d3drmdef.h
View file @
be6b54f5
...
...
@@ -243,7 +243,7 @@ typedef struct _D3DRMMATERIALOVERRIDE {
D3DCOLORVALUE
dcEmissive
;
D3DCOLORVALUE
dcSpecular
;
D3DVALUE
dvPower
;
LPUNKNOWN
lpD3DRMTex
;
IUnknown
*
lpD3DRMTex
;
}
D3DRMMATERIALOVERRIDE
,
*
LPD3DRMMATERIALOVERRIDE
;
#define D3DRMMATERIALOVERRIDE_DIFFUSE_ALPHAONLY 0x00000001
...
...
include/d3drmobj.h
View file @
be6b54f5
This diff is collapsed.
Click to expand it.
include/d3drmwin.h
View file @
be6b54f5
...
...
@@ -46,7 +46,7 @@ DECLARE_INTERFACE_(IDirect3DRMWinDevice,IDirect3DRMObject)
STDMETHOD_
(
ULONG
,
AddRef
)(
THIS
)
PURE
;
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
/*** IDirect3DRMObject methods ***/
STDMETHOD
(
Clone
)(
THIS_
LPUNKNOWN
pUnkOuter
,
REFIID
riid
,
LPVOID
*
ppvObj
)
PURE
;
STDMETHOD
(
Clone
)(
THIS_
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
PURE
;
STDMETHOD
(
AddDestroyCallback
)(
THIS_
D3DRMOBJECTCALLBACK
,
LPVOID
argument
)
PURE
;
STDMETHOD
(
DeleteDestroyCallback
)(
THIS_
D3DRMOBJECTCALLBACK
,
LPVOID
argument
)
PURE
;
STDMETHOD
(
SetAppData
)(
THIS_
DWORD
data
)
PURE
;
...
...
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