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
16c48f9d
Commit
16c48f9d
authored
Sep 09, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 09, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Avoid LPVOID.
parent
a9f3bc43
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
155 additions
and
264 deletions
+155
-264
d3drm.c
dlls/d3drm/d3drm.c
+6
-14
d3drm_main.c
dlls/d3drm/d3drm_main.c
+1
-1
device.c
dlls/d3drm/device.c
+30
-58
face.c
dlls/d3drm/face.c
+12
-24
frame.c
dlls/d3drm/frame.c
+20
-36
light.c
dlls/d3drm/light.c
+6
-12
material.c
dlls/d3drm/material.c
+6
-8
meshbuilder.c
dlls/d3drm/meshbuilder.c
+34
-54
d3drm.c
dlls/d3drm/tests/d3drm.c
+2
-2
texture.c
dlls/d3drm/texture.c
+18
-24
viewport.c
dlls/d3drm/viewport.c
+12
-24
d3drm.h
include/d3drm.h
+3
-3
d3drmdef.h
include/d3drmdef.h
+3
-2
d3drmobj.h
include/d3drmobj.h
+0
-0
d3drmwin.h
include/d3drmwin.h
+2
-2
No files found.
dlls/d3drm/d3drm.c
View file @
16c48f9d
...
@@ -383,11 +383,9 @@ static HRESULT WINAPI IDirect3DRMImpl_GetNamedObject(IDirect3DRM *iface,
...
@@ -383,11 +383,9 @@ static HRESULT WINAPI IDirect3DRMImpl_GetNamedObject(IDirect3DRM *iface,
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMImpl_EnumerateObjects
(
IDirect3DRM
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
LPVOID
pArg
)
static
HRESULT
WINAPI
IDirect3DRMImpl_EnumerateObjects
(
IDirect3DRM
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
{
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p,%p): stub
\n
"
,
iface
,
This
,
cb
,
pArg
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -744,12 +742,9 @@ static HRESULT WINAPI IDirect3DRM2Impl_GetNamedObject(IDirect3DRM2 *iface,
...
@@ -744,12 +742,9 @@ static HRESULT WINAPI IDirect3DRM2Impl_GetNamedObject(IDirect3DRM2 *iface,
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRM2Impl_EnumerateObjects
(
IDirect3DRM2
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
static
HRESULT
WINAPI
IDirect3DRM2Impl_EnumerateObjects
(
IDirect3DRM2
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
pArg
)
{
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM2
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p,%p): stub
\n
"
,
iface
,
This
,
cb
,
pArg
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -1123,12 +1118,9 @@ static HRESULT WINAPI IDirect3DRM3Impl_GetNamedObject(IDirect3DRM3 *iface,
...
@@ -1123,12 +1118,9 @@ static HRESULT WINAPI IDirect3DRM3Impl_GetNamedObject(IDirect3DRM3 *iface,
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRM3Impl_EnumerateObjects
(
IDirect3DRM3
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
static
HRESULT
WINAPI
IDirect3DRM3Impl_EnumerateObjects
(
IDirect3DRM3
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
arg
)
{
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM3
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p,%p): stub
\n
"
,
iface
,
This
,
cb
,
arg
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
...
dlls/d3drm/d3drm_main.c
View file @
16c48f9d
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
/***********************************************************************
/***********************************************************************
* DllMain (D3DRM.@)
* DllMain (D3DRM.@)
*/
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
void
*
reserved
)
{
{
switch
(
reason
)
switch
(
reason
)
{
{
...
...
dlls/d3drm/device.c
View file @
16c48f9d
...
@@ -127,24 +127,18 @@ static HRESULT WINAPI IDirect3DRMDevice2Impl_Clone(IDirect3DRMDevice2 *iface,
...
@@ -127,24 +127,18 @@ static HRESULT WINAPI IDirect3DRMDevice2Impl_Clone(IDirect3DRMDevice2 *iface,
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMDevice2Impl_AddDestroyCallback
(
IDirect3DRMDevice2
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMDevice2Impl_AddDestroyCallback
(
IDirect3DRMDevice2
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMDevice2
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMDevice2Impl_DeleteDestroyCallback
(
IDirect3DRMDevice2
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMDevice2Impl_DeleteDestroyCallback
(
IDirect3DRMDevice2
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMDevice2
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -233,23 +227,18 @@ static HRESULT WINAPI IDirect3DRMDevice2Impl_Update(IDirect3DRMDevice2* iface)
...
@@ -233,23 +227,18 @@ static HRESULT WINAPI IDirect3DRMDevice2Impl_Update(IDirect3DRMDevice2* iface)
return
D3DRM_OK
;
return
D3DRM_OK
;
}
}
static
HRESULT
WINAPI
IDirect3DRMDevice2Impl_AddUpdateCallback
(
IDirect3DRMDevice2
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMDevice2Impl_AddUpdateCallback
(
IDirect3DRMDevice2
*
iface
,
D3DRMUPDATECALLBACK
cb
,
LPVOID
arg
)
D3DRMUPDATECALLBACK
cb
,
void
*
ctx
)
{
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMDevice2
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
arg
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMDevice2Impl_DeleteUpdateCallback
(
IDirect3DRMDevice2
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMDevice2Impl_DeleteUpdateCallback
(
IDirect3DRMDevice2
*
iface
,
D3DRMUPDATECALLBACK
cb
,
D3DRMUPDATECALLBACK
cb
,
void
*
ctx
)
LPVOID
arg
)
{
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMDevice2
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
arg
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -533,24 +522,18 @@ static HRESULT WINAPI IDirect3DRMDevice3Impl_Clone(IDirect3DRMDevice3 *iface,
...
@@ -533,24 +522,18 @@ static HRESULT WINAPI IDirect3DRMDevice3Impl_Clone(IDirect3DRMDevice3 *iface,
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMDevice3Impl_AddDestroyCallback
(
IDirect3DRMDevice3
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMDevice3Impl_AddDestroyCallback
(
IDirect3DRMDevice3
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMDevice3
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMDevice3Impl_DeleteDestroyCallback
(
IDirect3DRMDevice3
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMDevice3Impl_DeleteDestroyCallback
(
IDirect3DRMDevice3
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMDevice3
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -647,23 +630,18 @@ static HRESULT WINAPI IDirect3DRMDevice3Impl_Update(IDirect3DRMDevice3* iface)
...
@@ -647,23 +630,18 @@ static HRESULT WINAPI IDirect3DRMDevice3Impl_Update(IDirect3DRMDevice3* iface)
return
D3DRM_OK
;
return
D3DRM_OK
;
}
}
static
HRESULT
WINAPI
IDirect3DRMDevice3Impl_AddUpdateCallback
(
IDirect3DRMDevice3
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMDevice3Impl_AddUpdateCallback
(
IDirect3DRMDevice3
*
iface
,
D3DRMUPDATECALLBACK
cb
,
LPVOID
arg
)
D3DRMUPDATECALLBACK
cb
,
void
*
ctx
)
{
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMDevice3
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
arg
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMDevice3Impl_DeleteUpdateCallback
(
IDirect3DRMDevice3
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMDevice3Impl_DeleteUpdateCallback
(
IDirect3DRMDevice3
*
iface
,
D3DRMUPDATECALLBACK
cb
,
D3DRMUPDATECALLBACK
cb
,
void
*
ctx
)
LPVOID
arg
)
{
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMDevice3
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
arg
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -1015,24 +993,18 @@ static HRESULT WINAPI IDirect3DRMWinDeviceImpl_Clone(IDirect3DRMWinDevice *iface
...
@@ -1015,24 +993,18 @@ static HRESULT WINAPI IDirect3DRMWinDeviceImpl_Clone(IDirect3DRMWinDevice *iface
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMWinDeviceImpl_AddDestroyCallback
(
IDirect3DRMWinDevice
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMWinDeviceImpl_AddDestroyCallback
(
IDirect3DRMWinDevice
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMWinDevice
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMWinDeviceImpl_DeleteDestroyCallback
(
IDirect3DRMWinDevice
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMWinDeviceImpl_DeleteDestroyCallback
(
IDirect3DRMWinDevice
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMWinDevice
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
...
dlls/d3drm/face.c
View file @
16c48f9d
...
@@ -110,24 +110,18 @@ static HRESULT WINAPI IDirect3DRMFaceImpl_Clone(IDirect3DRMFace *iface,
...
@@ -110,24 +110,18 @@ static HRESULT WINAPI IDirect3DRMFaceImpl_Clone(IDirect3DRMFace *iface,
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMFaceImpl_AddDestroyCallback
(
IDirect3DRMFace
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMFaceImpl_AddDestroyCallback
(
IDirect3DRMFace
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMFaceImpl
*
This
=
impl_from_IDirect3DRMFace
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMFaceImpl_DeleteDestroyCallback
(
IDirect3DRMFace
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMFaceImpl_DeleteDestroyCallback
(
IDirect3DRMFace
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMFaceImpl
*
This
=
impl_from_IDirect3DRMFace
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -427,24 +421,18 @@ static HRESULT WINAPI IDirect3DRMFace2Impl_Clone(IDirect3DRMFace2 *iface,
...
@@ -427,24 +421,18 @@ static HRESULT WINAPI IDirect3DRMFace2Impl_Clone(IDirect3DRMFace2 *iface,
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMFace2Impl_AddDestroyCallback
(
IDirect3DRMFace2
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMFace2Impl_AddDestroyCallback
(
IDirect3DRMFace2
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMFaceImpl
*
This
=
impl_from_IDirect3DRMFace2
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMFace2Impl_DeleteDestroyCallback
(
IDirect3DRMFace2
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMFace2Impl_DeleteDestroyCallback
(
IDirect3DRMFace2
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMFaceImpl
*
This
=
impl_from_IDirect3DRMFace2
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
...
dlls/d3drm/frame.c
View file @
16c48f9d
...
@@ -520,24 +520,18 @@ static HRESULT WINAPI IDirect3DRMFrame2Impl_Clone(IDirect3DRMFrame2 *iface,
...
@@ -520,24 +520,18 @@ static HRESULT WINAPI IDirect3DRMFrame2Impl_Clone(IDirect3DRMFrame2 *iface,
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMFrame2Impl_AddDestroyCallback
(
IDirect3DRMFrame2
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMFrame2Impl_AddDestroyCallback
(
IDirect3DRMFrame2
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMFrameImpl
*
This
=
impl_from_IDirect3DRMFrame2
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMFrame2Impl_DeleteDestroyCallback
(
IDirect3DRMFrame2
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMFrame2Impl_DeleteDestroyCallback
(
IDirect3DRMFrame2
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMFrameImpl
*
This
=
impl_from_IDirect3DRMFrame2
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -863,13 +857,11 @@ static HRESULT WINAPI IDirect3DRMFrame2Impl_InverseTransform(IDirect3DRMFrame2*
...
@@ -863,13 +857,11 @@ static HRESULT WINAPI IDirect3DRMFrame2Impl_InverseTransform(IDirect3DRMFrame2*
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMFrame2Impl_Load
(
IDirect3DRMFrame2
*
iface
,
LPVOID
filename
,
static
HRESULT
WINAPI
IDirect3DRMFrame2Impl_Load
(
IDirect3DRMFrame2
*
iface
,
void
*
filename
,
LPVOID
name
,
D3DRMLOADOPTIONS
loadflags
,
void
*
name
,
D3DRMLOADOPTIONS
flags
,
D3DRMLOADTEXTURECALLBACK
cb
,
void
*
ctx
)
D3DRMLOADTEXTURECALLBACK
cb
,
LPVOID
lpArg
)
{
{
IDirect3DRMFrameImpl
*
This
=
impl_from_IDirect3DRMFrame2
(
iface
);
FIXME
(
"iface %p, filename %p, name %p, flags %#x, cb %p, ctx %p stub!
\n
"
,
iface
,
filename
,
name
,
flags
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p,%p,%u,%p,%p): stub
\n
"
,
iface
,
This
,
filename
,
name
,
loadflags
,
cb
,
lpArg
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -1372,24 +1364,18 @@ static HRESULT WINAPI IDirect3DRMFrame3Impl_Clone(IDirect3DRMFrame3 *iface,
...
@@ -1372,24 +1364,18 @@ static HRESULT WINAPI IDirect3DRMFrame3Impl_Clone(IDirect3DRMFrame3 *iface,
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMFrame3Impl_AddDestroyCallback
(
IDirect3DRMFrame3
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMFrame3Impl_AddDestroyCallback
(
IDirect3DRMFrame3
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMFrameImpl
*
This
=
impl_from_IDirect3DRMFrame3
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMFrame3Impl_DeleteDestroyCallback
(
IDirect3DRMFrame3
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMFrame3Impl_DeleteDestroyCallback
(
IDirect3DRMFrame3
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMFrameImpl
*
This
=
impl_from_IDirect3DRMFrame3
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -1858,13 +1844,11 @@ static HRESULT WINAPI IDirect3DRMFrame3Impl_InverseTransform(IDirect3DRMFrame3*
...
@@ -1858,13 +1844,11 @@ static HRESULT WINAPI IDirect3DRMFrame3Impl_InverseTransform(IDirect3DRMFrame3*
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMFrame3Impl_Load
(
IDirect3DRMFrame3
*
iface
,
LPVOID
filename
,
static
HRESULT
WINAPI
IDirect3DRMFrame3Impl_Load
(
IDirect3DRMFrame3
*
iface
,
void
*
filename
,
LPVOID
name
,
D3DRMLOADOPTIONS
loadflags
,
void
*
name
,
D3DRMLOADOPTIONS
flags
,
D3DRMLOADTEXTURE3CALLBACK
cb
,
void
*
ctx
)
D3DRMLOADTEXTURE3CALLBACK
cb
,
LPVOID
lpArg
)
{
{
IDirect3DRMFrameImpl
*
This
=
impl_from_IDirect3DRMFrame3
(
iface
);
FIXME
(
"iface %p, filename %p, name %p, flags %#x, cb %p, ctx %p stub!
\n
"
,
iface
,
filename
,
name
,
flags
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p,%p,%u,%p,%p): stub
\n
"
,
iface
,
This
,
filename
,
name
,
loadflags
,
cb
,
lpArg
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
...
dlls/d3drm/light.c
View file @
16c48f9d
...
@@ -104,24 +104,18 @@ static HRESULT WINAPI IDirect3DRMLightImpl_Clone(IDirect3DRMLight *iface,
...
@@ -104,24 +104,18 @@ static HRESULT WINAPI IDirect3DRMLightImpl_Clone(IDirect3DRMLight *iface,
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMLightImpl_AddDestroyCallback
(
IDirect3DRMLight
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMLightImpl_AddDestroyCallback
(
IDirect3DRMLight
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMLightImpl
*
This
=
impl_from_IDirect3DRMLight
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMLightImpl_DeleteDestroyCallback
(
IDirect3DRMLight
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMLightImpl_DeleteDestroyCallback
(
IDirect3DRMLight
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMLightImpl
*
This
=
impl_from_IDirect3DRMLight
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
...
dlls/d3drm/material.c
View file @
16c48f9d
...
@@ -108,20 +108,18 @@ static HRESULT WINAPI IDirect3DRMMaterial2Impl_Clone(IDirect3DRMMaterial2 *iface
...
@@ -108,20 +108,18 @@ static HRESULT WINAPI IDirect3DRMMaterial2Impl_Clone(IDirect3DRMMaterial2 *iface
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMMaterial2Impl_AddDestroyCallback
(
IDirect3DRMMaterial2
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMMaterial2Impl_AddDestroyCallback
(
IDirect3DRMMaterial2
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
FIXME
(
"
(%p)->(%p, %p): stub
\n
"
,
iface
,
cb
,
argument
);
FIXME
(
"
iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMMaterial2Impl_DeleteDestroyCallback
(
IDirect3DRMMaterial2
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMMaterial2Impl_DeleteDestroyCallback
(
IDirect3DRMMaterial2
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
FIXME
(
"
(%p)->(%p, %p): stub
\n
"
,
iface
,
cb
,
argument
);
FIXME
(
"
iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
...
dlls/d3drm/meshbuilder.c
View file @
16c48f9d
...
@@ -76,7 +76,7 @@ typedef struct {
...
@@ -76,7 +76,7 @@ typedef struct {
D3DVECTOR
*
pNormals
;
D3DVECTOR
*
pNormals
;
DWORD
nb_faces
;
DWORD
nb_faces
;
DWORD
face_data_size
;
DWORD
face_data_size
;
LPVOID
pFaceData
;
void
*
pFaceData
;
DWORD
nb_coords2d
;
DWORD
nb_coords2d
;
Coords2d
*
pCoords2d
;
Coords2d
*
pCoords2d
;
D3DCOLOR
color
;
D3DCOLOR
color
;
...
@@ -423,24 +423,18 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder2Impl_Clone(IDirect3DRMMeshBuilder2
...
@@ -423,24 +423,18 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder2Impl_Clone(IDirect3DRMMeshBuilder2
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder2Impl_AddDestroyCallback
(
IDirect3DRMMeshBuilder2
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder2Impl_AddDestroyCallback
(
IDirect3DRMMeshBuilder2
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMMeshBuilderImpl
*
This
=
impl_from_IDirect3DRMMeshBuilder2
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p)->(%p,%p): stub
\n
"
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder2Impl_DeleteDestroyCallback
(
IDirect3DRMMeshBuilder2
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder2Impl_DeleteDestroyCallback
(
IDirect3DRMMeshBuilder2
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMMeshBuilderImpl
*
This
=
impl_from_IDirect3DRMMeshBuilder2
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p)->(%p,%p): stub
\n
"
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -493,20 +487,19 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder2Impl_GetClassName(IDirect3DRMMeshBu
...
@@ -493,20 +487,19 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder2Impl_GetClassName(IDirect3DRMMeshBu
}
}
/*** IDirect3DRMMeshBuilder2 methods ***/
/*** IDirect3DRMMeshBuilder2 methods ***/
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder2Impl_Load
(
IDirect3DRMMeshBuilder2
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder2Impl_Load
(
IDirect3DRMMeshBuilder2
*
iface
,
void
*
filename
,
LPVOID
filename
,
LPVOID
name
,
void
*
name
,
D3DRMLOADOPTIONS
flags
,
D3DRMLOADTEXTURECALLBACK
cb
,
void
*
ctx
)
D3DRMLOADOPTIONS
loadflags
,
D3DRMLOADTEXTURECALLBACK
cb
,
LPVOID
arg
)
{
{
IDirect3DRMMeshBuilderImpl
*
This
=
impl_from_IDirect3DRMMeshBuilder2
(
iface
);
IDirect3DRMMeshBuilderImpl
*
mesh_builder
=
impl_from_IDirect3DRMMeshBuilder2
(
iface
);
TRACE
(
"(%p)->(%p,%p,%x,%p,%p)
\n
"
,
This
,
filename
,
name
,
loadflags
,
cb
,
arg
);
TRACE
(
"iface %p, filename %p, name %p, flags %#x, cb %p, ctx %p.
\n
"
,
iface
,
filename
,
name
,
flags
,
cb
,
ctx
);
if
(
cb
)
if
(
cb
)
FIXME
(
"Texture callback is not yet supported
\n
"
);
FIXME
(
"Texture callback is not yet supported
\n
"
);
return
IDirect3DRMMeshBuilder3_Load
(
&
This
->
IDirect3DRMMeshBuilder3_iface
,
filename
,
nam
e
,
return
IDirect3DRMMeshBuilder3_Load
(
&
mesh_builder
->
IDirect3DRMMeshBuilder3_ifac
e
,
loadflags
,
NULL
,
arg
);
filename
,
name
,
flags
,
NULL
,
ctx
);
}
}
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder2Impl_Save
(
IDirect3DRMMeshBuilder2
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder2Impl_Save
(
IDirect3DRMMeshBuilder2
*
iface
,
...
@@ -658,7 +651,7 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder2Impl_SetTexture(IDirect3DRMMeshBuil
...
@@ -658,7 +651,7 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder2Impl_SetTexture(IDirect3DRMMeshBuil
HRESULT
hr
=
D3DRM_OK
;
HRESULT
hr
=
D3DRM_OK
;
if
(
texture
)
if
(
texture
)
hr
=
IDirect3DRMTexture_QueryInterface
(
texture
,
&
IID_IDirect3DRMTexture3
,
(
LPVOID
*
)
&
texture3
);
hr
=
IDirect3DRMTexture_QueryInterface
(
texture
,
&
IID_IDirect3DRMTexture3
,
(
void
*
*
)
&
texture3
);
if
(
SUCCEEDED
(
hr
))
if
(
SUCCEEDED
(
hr
))
hr
=
IDirect3DRMMeshBuilder3_SetTexture
(
&
This
->
IDirect3DRMMeshBuilder3_iface
,
texture3
);
hr
=
IDirect3DRMMeshBuilder3_SetTexture
(
&
This
->
IDirect3DRMMeshBuilder3_iface
,
texture3
);
if
(
texture3
)
if
(
texture3
)
...
@@ -1006,24 +999,18 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder3Impl_Clone(IDirect3DRMMeshBuilder3
...
@@ -1006,24 +999,18 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder3Impl_Clone(IDirect3DRMMeshBuilder3
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder3Impl_AddDestroyCallback
(
IDirect3DRMMeshBuilder3
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder3Impl_AddDestroyCallback
(
IDirect3DRMMeshBuilder3
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMMeshBuilderImpl
*
This
=
impl_from_IDirect3DRMMeshBuilder3
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p)->(%p,%p): stub
\n
"
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder3Impl_DeleteDestroyCallback
(
IDirect3DRMMeshBuilder3
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder3Impl_DeleteDestroyCallback
(
IDirect3DRMMeshBuilder3
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMMeshBuilderImpl
*
This
=
impl_from_IDirect3DRMMeshBuilder3
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p)->(%p,%p): stub
\n
"
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -2151,7 +2138,8 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder3Impl_CreateMesh(IDirect3DRMMeshBuil
...
@@ -2151,7 +2138,8 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder3Impl_CreateMesh(IDirect3DRMMeshBuil
{
{
IDirect3DRMTexture
*
texture
;
IDirect3DRMTexture
*
texture
;
IDirect3DRMTexture3_QueryInterface
(
This
->
materials
[
k
].
texture
,
&
IID_IDirect3DRMTexture
,
(
LPVOID
*
)
&
texture
);
IDirect3DRMTexture3_QueryInterface
(
This
->
materials
[
k
].
texture
,
&
IID_IDirect3DRMTexture
,
(
void
**
)
&
texture
);
hr
=
IDirect3DRMMesh_SetGroupTexture
(
*
mesh
,
group
,
texture
);
hr
=
IDirect3DRMMesh_SetGroupTexture
(
*
mesh
,
group
,
texture
);
IDirect3DRMTexture_Release
(
texture
);
IDirect3DRMTexture_Release
(
texture
);
}
}
...
@@ -2301,13 +2289,11 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder3Impl_GetEnable(IDirect3DRMMeshBuild
...
@@ -2301,13 +2289,11 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder3Impl_GetEnable(IDirect3DRMMeshBuild
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder3Impl_AddTriangles
(
IDirect3DRMMeshBuilder3
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder3Impl_AddTriangles
(
IDirect3DRMMeshBuilder3
*
iface
,
DWORD
flags
,
DWORD
format
,
DWORD
flags
,
DWORD
format
,
DWORD
vertex_count
,
void
*
data
)
DWORD
VertexCount
,
LPVOID
data
)
{
{
IDirect3DRMMeshBuilderImpl
*
This
=
impl_from_IDirect3DRMMeshBuilder3
(
iface
);
FIXME
(
"iface %p, flags %#x, format %#x, vertex_count %u, data %p stub!
\n
"
,
iface
,
flags
,
format
,
vertex_count
,
data
);
FIXME
(
"(%p)->(%u,%u,%u,%p): stub
\n
"
,
This
,
flags
,
format
,
VertexCount
,
data
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -2543,24 +2529,18 @@ static HRESULT WINAPI IDirect3DRMMeshImpl_Clone(IDirect3DRMMesh *iface,
...
@@ -2543,24 +2529,18 @@ static HRESULT WINAPI IDirect3DRMMeshImpl_Clone(IDirect3DRMMesh *iface,
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMMeshImpl_AddDestroyCallback
(
IDirect3DRMMesh
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMMeshImpl_AddDestroyCallback
(
IDirect3DRMMesh
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMMeshImpl
*
This
=
impl_from_IDirect3DRMMesh
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p)->(%p,%p): stub
\n
"
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMMeshImpl_DeleteDestroyCallback
(
IDirect3DRMMesh
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMMeshImpl_DeleteDestroyCallback
(
IDirect3DRMMesh
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMMeshImpl
*
This
=
impl_from_IDirect3DRMMesh
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p)->(%p,%p): stub
\n
"
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -2834,7 +2814,7 @@ static HRESULT WINAPI IDirect3DRMMeshImpl_SetGroupTexture(IDirect3DRMMesh *iface
...
@@ -2834,7 +2814,7 @@ static HRESULT WINAPI IDirect3DRMMeshImpl_SetGroupTexture(IDirect3DRMMesh *iface
return
D3DRM_OK
;
return
D3DRM_OK
;
}
}
return
IDirect3DRMTexture3_QueryInterface
(
texture
,
&
IID_IDirect3DRMTexture
,
(
LPVOID
*
)
&
This
->
groups
[
id
].
texture
);
return
IDirect3DRMTexture3_QueryInterface
(
texture
,
&
IID_IDirect3DRMTexture
,
(
void
*
*
)
&
This
->
groups
[
id
].
texture
);
}
}
static
DWORD
WINAPI
IDirect3DRMMeshImpl_GetGroupCount
(
IDirect3DRMMesh
*
iface
)
static
DWORD
WINAPI
IDirect3DRMMeshImpl_GetGroupCount
(
IDirect3DRMMesh
*
iface
)
...
...
dlls/d3drm/tests/d3drm.c
View file @
16c48f9d
...
@@ -1571,11 +1571,11 @@ static const GUID* refiids[] =
...
@@ -1571,11 +1571,11 @@ static const GUID* refiids[] =
&
IID_IDirect3DRMMaterial
/* Not taken into account and not notified */
&
IID_IDirect3DRMMaterial
/* Not taken into account and not notified */
};
};
static
void
__cdecl
object_load_callback
(
IDirect3DRMObject
*
object
,
REFIID
objectguid
,
LPVOID
arg
)
static
void
__cdecl
object_load_callback
(
IDirect3DRMObject
*
object
,
REFIID
objectguid
,
void
*
arg
)
{
{
ok
(
object
!=
NULL
,
"Arg 1 should not be null
\n
"
);
ok
(
object
!=
NULL
,
"Arg 1 should not be null
\n
"
);
ok
(
IsEqualGUID
(
objectguid
,
refiids
[
nb_objects
]),
"Arg 2 is incorrect
\n
"
);
ok
(
IsEqualGUID
(
objectguid
,
refiids
[
nb_objects
]),
"Arg 2 is incorrect
\n
"
);
ok
(
arg
==
(
LPVOID
)
0xdeadbeef
,
"Arg 3 should be 0xdeadbeef (got %p)
\n
"
,
arg
);
ok
(
arg
==
(
void
*
)
0xdeadbeef
,
"Arg 3 should be 0xdeadbeef (got %p)
\n
"
,
arg
);
nb_objects
++
;
nb_objects
++
;
}
}
...
...
dlls/d3drm/texture.c
View file @
16c48f9d
...
@@ -109,20 +109,18 @@ static HRESULT WINAPI IDirect3DRMTexture2Impl_Clone(IDirect3DRMTexture2 *iface,
...
@@ -109,20 +109,18 @@ static HRESULT WINAPI IDirect3DRMTexture2Impl_Clone(IDirect3DRMTexture2 *iface,
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMTexture2Impl_AddDestroyCallback
(
IDirect3DRMTexture2
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMTexture2Impl_AddDestroyCallback
(
IDirect3DRMTexture2
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
FIXME
(
"
(%p)->(%p, %p): stub
\n
"
,
iface
,
cb
,
argument
);
FIXME
(
"
iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMTexture2Impl_DeleteDestroyCallback
(
IDirect3DRMTexture2
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMTexture2Impl_DeleteDestroyCallback
(
IDirect3DRMTexture2
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
FIXME
(
"
(%p)->(%p, %p): stub
\n
"
,
iface
,
cb
,
argument
);
FIXME
(
"
iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -474,20 +472,18 @@ static HRESULT WINAPI IDirect3DRMTexture3Impl_Clone(IDirect3DRMTexture3 *iface,
...
@@ -474,20 +472,18 @@ static HRESULT WINAPI IDirect3DRMTexture3Impl_Clone(IDirect3DRMTexture3 *iface,
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMTexture3Impl_AddDestroyCallback
(
IDirect3DRMTexture3
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMTexture3Impl_AddDestroyCallback
(
IDirect3DRMTexture3
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
FIXME
(
"
(%p)->(%p, %p): stub
\n
"
,
iface
,
cb
,
argument
);
FIXME
(
"
iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMTexture3Impl_DeleteDestroyCallback
(
IDirect3DRMTexture3
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMTexture3Impl_DeleteDestroyCallback
(
IDirect3DRMTexture3
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
FIXME
(
"
(%p)->(%p, %p): stub
\n
"
,
iface
,
cb
,
argument
);
FIXME
(
"
iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -768,20 +764,18 @@ static HRESULT WINAPI IDirect3DRMTexture3Impl_GetCacheOptions(IDirect3DRMTexture
...
@@ -768,20 +764,18 @@ static HRESULT WINAPI IDirect3DRMTexture3Impl_GetCacheOptions(IDirect3DRMTexture
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMTexture3Impl_SetDownsampleCallback
(
IDirect3DRMTexture3
*
iface
,
D3DRMDOWNSAMPLECALLBACK
callback
,
LPVOID
arg
)
static
HRESULT
WINAPI
IDirect3DRMTexture3Impl_SetDownsampleCallback
(
IDirect3DRMTexture3
*
iface
,
D3DRMDOWNSAMPLECALLBACK
cb
,
void
*
ctx
)
{
{
IDirect3DRMTextureImpl
*
This
=
impl_from_IDirect3DRMTexture3
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
callback
,
arg
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMTexture3Impl_SetValidationCallback
(
IDirect3DRMTexture3
*
iface
,
D3DRMVALIDATIONCALLBACK
callback
,
LPVOID
arg
)
static
HRESULT
WINAPI
IDirect3DRMTexture3Impl_SetValidationCallback
(
IDirect3DRMTexture3
*
iface
,
D3DRMVALIDATIONCALLBACK
cb
,
void
*
ctx
)
{
{
IDirect3DRMTextureImpl
*
This
=
impl_from_IDirect3DRMTexture3
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
callback
,
arg
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
...
dlls/d3drm/viewport.c
View file @
16c48f9d
...
@@ -113,24 +113,18 @@ static HRESULT WINAPI IDirect3DRMViewportImpl_Clone(IDirect3DRMViewport *iface,
...
@@ -113,24 +113,18 @@ static HRESULT WINAPI IDirect3DRMViewportImpl_Clone(IDirect3DRMViewport *iface,
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMViewportImpl_AddDestroyCallback
(
IDirect3DRMViewport
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMViewportImpl_AddDestroyCallback
(
IDirect3DRMViewport
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMViewportImpl
*
This
=
impl_from_IDirect3DRMViewport
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMViewportImpl_DeleteDestroyCallback
(
IDirect3DRMViewport
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMViewportImpl_DeleteDestroyCallback
(
IDirect3DRMViewport
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMViewportImpl
*
This
=
impl_from_IDirect3DRMViewport
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -507,24 +501,18 @@ static HRESULT WINAPI IDirect3DRMViewport2Impl_Clone(IDirect3DRMViewport2 *iface
...
@@ -507,24 +501,18 @@ static HRESULT WINAPI IDirect3DRMViewport2Impl_Clone(IDirect3DRMViewport2 *iface
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMViewport2Impl_AddDestroyCallback
(
IDirect3DRMViewport2
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMViewport2Impl_AddDestroyCallback
(
IDirect3DRMViewport2
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMViewportImpl
*
This
=
impl_from_IDirect3DRMViewport2
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
IDirect3DRMViewport2Impl_DeleteDestroyCallback
(
IDirect3DRMViewport2
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMViewport2Impl_DeleteDestroyCallback
(
IDirect3DRMViewport2
*
iface
,
D3DRMOBJECTCALLBACK
cb
,
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
LPVOID
argument
)
{
{
IDirect3DRMViewportImpl
*
This
=
impl_from_IDirect3DRMViewport2
(
iface
);
FIXME
(
"iface %p, cb %p, ctx %p stub!
\n
"
,
iface
,
cb
,
ctx
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
cb
,
argument
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
...
include/d3drm.h
View file @
16c48f9d
...
@@ -96,7 +96,7 @@ DECLARE_INTERFACE_(IDirect3DRM,IUnknown)
...
@@ -96,7 +96,7 @@ DECLARE_INTERFACE_(IDirect3DRM,IUnknown)
STDMETHOD
(
SetDefaultTextureShades
)(
THIS_
DWORD
)
PURE
;
STDMETHOD
(
SetDefaultTextureShades
)(
THIS_
DWORD
)
PURE
;
STDMETHOD
(
GetDevices
)(
THIS_
IDirect3DRMDeviceArray
**
array
)
PURE
;
STDMETHOD
(
GetDevices
)(
THIS_
IDirect3DRMDeviceArray
**
array
)
PURE
;
STDMETHOD
(
GetNamedObject
)(
THIS_
const
char
*
name
,
IDirect3DRMObject
**
object
)
PURE
;
STDMETHOD
(
GetNamedObject
)(
THIS_
const
char
*
name
,
IDirect3DRMObject
**
object
)
PURE
;
STDMETHOD
(
EnumerateObjects
)(
THIS_
D3DRMOBJECTCALLBACK
,
LPVOID
)
PURE
;
STDMETHOD
(
EnumerateObjects
)(
THIS_
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
PURE
;
STDMETHOD
(
Load
)(
THIS_
void
*
source
,
void
*
object_id
,
IID
**
iids
,
DWORD
iid_count
,
D3DRMLOADOPTIONS
flags
,
STDMETHOD
(
Load
)(
THIS_
void
*
source
,
void
*
object_id
,
IID
**
iids
,
DWORD
iid_count
,
D3DRMLOADOPTIONS
flags
,
D3DRMLOADCALLBACK
load_cb
,
void
*
load_ctx
,
D3DRMLOADTEXTURECALLBACK
load_tex_cb
,
void
*
load_tex_ctx
,
D3DRMLOADCALLBACK
load_cb
,
void
*
load_ctx
,
D3DRMLOADTEXTURECALLBACK
load_tex_cb
,
void
*
load_tex_ctx
,
IDirect3DRMFrame
*
parent_frame
)
PURE
;
IDirect3DRMFrame
*
parent_frame
)
PURE
;
...
@@ -236,7 +236,7 @@ DECLARE_INTERFACE_(IDirect3DRM2,IUnknown)
...
@@ -236,7 +236,7 @@ DECLARE_INTERFACE_(IDirect3DRM2,IUnknown)
STDMETHOD
(
SetDefaultTextureShades
)(
THIS_
DWORD
)
PURE
;
STDMETHOD
(
SetDefaultTextureShades
)(
THIS_
DWORD
)
PURE
;
STDMETHOD
(
GetDevices
)(
THIS_
IDirect3DRMDeviceArray
**
array
)
PURE
;
STDMETHOD
(
GetDevices
)(
THIS_
IDirect3DRMDeviceArray
**
array
)
PURE
;
STDMETHOD
(
GetNamedObject
)(
THIS_
const
char
*
name
,
IDirect3DRMObject
**
object
)
PURE
;
STDMETHOD
(
GetNamedObject
)(
THIS_
const
char
*
name
,
IDirect3DRMObject
**
object
)
PURE
;
STDMETHOD
(
EnumerateObjects
)(
THIS_
D3DRMOBJECTCALLBACK
,
LPVOID
)
PURE
;
STDMETHOD
(
EnumerateObjects
)(
THIS_
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
PURE
;
STDMETHOD
(
Load
)(
THIS_
void
*
source
,
void
*
object_id
,
IID
**
iids
,
DWORD
iid_count
,
D3DRMLOADOPTIONS
flags
,
STDMETHOD
(
Load
)(
THIS_
void
*
source
,
void
*
object_id
,
IID
**
iids
,
DWORD
iid_count
,
D3DRMLOADOPTIONS
flags
,
D3DRMLOADCALLBACK
load_cb
,
void
*
load_ctx
,
D3DRMLOADTEXTURECALLBACK
load_tex_cb
,
void
*
load_tex_ctx
,
D3DRMLOADCALLBACK
load_cb
,
void
*
load_ctx
,
D3DRMLOADTEXTURECALLBACK
load_tex_cb
,
void
*
load_tex_ctx
,
IDirect3DRMFrame
*
parent_frame
)
PURE
;
IDirect3DRMFrame
*
parent_frame
)
PURE
;
...
@@ -379,7 +379,7 @@ DECLARE_INTERFACE_(IDirect3DRM3,IUnknown)
...
@@ -379,7 +379,7 @@ DECLARE_INTERFACE_(IDirect3DRM3,IUnknown)
STDMETHOD
(
SetDefaultTextureShades
)(
THIS_
DWORD
)
PURE
;
STDMETHOD
(
SetDefaultTextureShades
)(
THIS_
DWORD
)
PURE
;
STDMETHOD
(
GetDevices
)(
THIS_
IDirect3DRMDeviceArray
**
array
)
PURE
;
STDMETHOD
(
GetDevices
)(
THIS_
IDirect3DRMDeviceArray
**
array
)
PURE
;
STDMETHOD
(
GetNamedObject
)(
THIS_
const
char
*
name
,
IDirect3DRMObject
**
object
)
PURE
;
STDMETHOD
(
GetNamedObject
)(
THIS_
const
char
*
name
,
IDirect3DRMObject
**
object
)
PURE
;
STDMETHOD
(
EnumerateObjects
)(
THIS_
D3DRMOBJECTCALLBACK
,
LPVOID
)
PURE
;
STDMETHOD
(
EnumerateObjects
)(
THIS_
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
PURE
;
STDMETHOD
(
Load
)(
THIS_
void
*
source
,
void
*
object_id
,
IID
**
iids
,
DWORD
iid_count
,
D3DRMLOADOPTIONS
flags
,
STDMETHOD
(
Load
)(
THIS_
void
*
source
,
void
*
object_id
,
IID
**
iids
,
DWORD
iid_count
,
D3DRMLOADOPTIONS
flags
,
D3DRMLOADCALLBACK
load_cb
,
void
*
load_ctx
,
D3DRMLOADTEXTURECALLBACK
load_tex_cb
,
void
*
load_tex_ctx
,
D3DRMLOADCALLBACK
load_cb
,
void
*
load_ctx
,
D3DRMLOADTEXTURECALLBACK
load_tex_cb
,
void
*
load_tex_ctx
,
IDirect3DRMFrame3
*
parent_frame
)
PURE
;
IDirect3DRMFrame3
*
parent_frame
)
PURE
;
...
...
include/d3drmdef.h
View file @
16c48f9d
...
@@ -361,8 +361,9 @@ typedef struct _D3DRMLOADRESOURCE
...
@@ -361,8 +361,9 @@ typedef struct _D3DRMLOADRESOURCE
const
char
*
lpType
;
const
char
*
lpType
;
}
D3DRMLOADRESOURCE
,
*
LPD3DRMLOADRESOURCE
;
}
D3DRMLOADRESOURCE
,
*
LPD3DRMLOADRESOURCE
;
typedef
struct
_D3DRMLOADMEMORY
{
typedef
struct
_D3DRMLOADMEMORY
LPVOID
lpMemory
;
{
void
*
lpMemory
;
DWORD
dSize
;
DWORD
dSize
;
}
D3DRMLOADMEMORY
,
*
LPD3DRMLOADMEMORY
;
}
D3DRMLOADMEMORY
,
*
LPD3DRMLOADMEMORY
;
...
...
include/d3drmobj.h
View file @
16c48f9d
This diff is collapsed.
Click to expand it.
include/d3drmwin.h
View file @
16c48f9d
...
@@ -47,8 +47,8 @@ DECLARE_INTERFACE_(IDirect3DRMWinDevice,IDirect3DRMObject)
...
@@ -47,8 +47,8 @@ DECLARE_INTERFACE_(IDirect3DRMWinDevice,IDirect3DRMObject)
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
/*** IDirect3DRMObject methods ***/
/*** IDirect3DRMObject methods ***/
STDMETHOD
(
Clone
)(
THIS_
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
PURE
;
STDMETHOD
(
Clone
)(
THIS_
IUnknown
*
outer
,
REFIID
iid
,
void
**
out
)
PURE
;
STDMETHOD
(
AddDestroyCallback
)(
THIS_
D3DRMOBJECTCALLBACK
,
LPVOID
argument
)
PURE
;
STDMETHOD
(
AddDestroyCallback
)(
THIS_
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
PURE
;
STDMETHOD
(
DeleteDestroyCallback
)(
THIS_
D3DRMOBJECTCALLBACK
,
LPVOID
argument
)
PURE
;
STDMETHOD
(
DeleteDestroyCallback
)(
THIS_
D3DRMOBJECTCALLBACK
cb
,
void
*
ctx
)
PURE
;
STDMETHOD
(
SetAppData
)(
THIS_
DWORD
data
)
PURE
;
STDMETHOD
(
SetAppData
)(
THIS_
DWORD
data
)
PURE
;
STDMETHOD_
(
DWORD
,
GetAppData
)(
THIS
)
PURE
;
STDMETHOD_
(
DWORD
,
GetAppData
)(
THIS
)
PURE
;
STDMETHOD
(
SetName
)(
THIS_
const
char
*
name
)
PURE
;
STDMETHOD
(
SetName
)(
THIS_
const
char
*
name
)
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