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
39991e75
Commit
39991e75
authored
Sep 10, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 10, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Avoid LPDWORD.
parent
d21c26e4
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
42 deletions
+28
-42
d3drm.c
dlls/d3drm/d3drm.c
+4
-9
device.c
dlls/d3drm/device.c
+4
-6
frame.c
dlls/d3drm/frame.c
+4
-10
texture.c
dlls/d3drm/texture.c
+3
-4
d3drm.h
include/d3drm.h
+2
-2
d3drmobj.h
include/d3drmobj.h
+11
-11
No files found.
dlls/d3drm/d3drm.c
View file @
39991e75
...
...
@@ -1449,12 +1449,9 @@ static HRESULT WINAPI IDirect3DRM3Impl_CreateProgressiveMesh(IDirect3DRM3 *iface
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirect3DRM3Impl_RegisterClient
(
IDirect3DRM3
*
iface
,
REFGUID
rguid
,
LPDWORD
id
)
static
HRESULT
WINAPI
IDirect3DRM3Impl_RegisterClient
(
IDirect3DRM3
*
iface
,
REFGUID
guid
,
DWORD
*
id
)
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM3
(
iface
);
FIXME
(
"(%p/%p)->(%s, %p): stub
\n
"
,
iface
,
This
,
debugstr_guid
(
rguid
),
id
);
FIXME
(
"iface %p, guid %s, id %p stub!
\n
"
,
iface
,
debugstr_guid
(
guid
),
id
);
return
E_NOTIMPL
;
}
...
...
@@ -1485,11 +1482,9 @@ static HRESULT WINAPI IDirect3DRM3Impl_SetOptions(IDirect3DRM3* iface, DWORD opt
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirect3DRM3Impl_GetOptions
(
IDirect3DRM3
*
iface
,
LPDWORD
opt
)
static
HRESULT
WINAPI
IDirect3DRM3Impl_GetOptions
(
IDirect3DRM3
*
iface
,
DWORD
*
flags
)
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM3
(
iface
);
FIXME
(
"(%p/%p)->(%p): stub
\n
"
,
iface
,
This
,
opt
);
FIXME
(
"iface %p, flags %p stub!
\n
"
,
iface
,
flags
);
return
E_NOTIMPL
;
}
...
...
dlls/d3drm/device.c
View file @
39991e75
...
...
@@ -888,13 +888,11 @@ static HRESULT WINAPI IDirect3DRMDevice3Impl_LightStateChange(IDirect3DRMDevice3
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirect3DRMDevice3Impl_GetStateChangeOptions
(
IDirect3DRMDevice3
*
iface
,
DWORD
stateclass
,
DWORD
statenum
,
LPDWORD
flags
)
static
HRESULT
WINAPI
IDirect3DRMDevice3Impl_GetStateChangeOptions
(
IDirect3DRMDevice3
*
iface
,
DWORD
state_class
,
DWORD
state_idx
,
DWORD
*
flags
)
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMDevice3
(
iface
);
FIXME
(
"(%p/%p)->(%u, %u, %p): stub
\n
"
,
iface
,
This
,
stateclass
,
statenum
,
flags
);
FIXME
(
"iface %p, state_class %#x, state_idx %#x, flags %p stub!
\n
"
,
iface
,
state_class
,
state_idx
,
flags
);
return
E_NOTIMPL
;
}
...
...
dlls/d3drm/frame.c
View file @
39991e75
...
...
@@ -2365,12 +2365,9 @@ static HRESULT WINAPI IDirect3DRMFrame3Impl_SetTraversalOptions(IDirect3DRMFrame
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirect3DRMFrame3Impl_GetTraversalOptions
(
IDirect3DRMFrame3
*
iface
,
LPDWORD
flags
)
static
HRESULT
WINAPI
IDirect3DRMFrame3Impl_GetTraversalOptions
(
IDirect3DRMFrame3
*
iface
,
DWORD
*
flags
)
{
IDirect3DRMFrameImpl
*
This
=
impl_from_IDirect3DRMFrame3
(
iface
);
FIXME
(
"(%p/%p)->(%p): stub
\n
"
,
iface
,
This
,
flags
);
FIXME
(
"iface %p, flags %p stub!
\n
"
,
iface
,
flags
);
return
E_NOTIMPL
;
}
...
...
@@ -2385,12 +2382,9 @@ static HRESULT WINAPI IDirect3DRMFrame3Impl_SetSceneFogMethod(IDirect3DRMFrame3*
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirect3DRMFrame3Impl_GetSceneFogMethod
(
IDirect3DRMFrame3
*
iface
,
LPDWORD
flags
)
static
HRESULT
WINAPI
IDirect3DRMFrame3Impl_GetSceneFogMethod
(
IDirect3DRMFrame3
*
iface
,
DWORD
*
fog_mode
)
{
IDirect3DRMFrameImpl
*
This
=
impl_from_IDirect3DRMFrame3
(
iface
);
FIXME
(
"(%p/%p)->(%p): stub
\n
"
,
iface
,
This
,
flags
);
FIXME
(
"iface %p, fogmode %p stub!
\n
"
,
iface
,
fog_mode
);
return
E_NOTIMPL
;
}
...
...
dlls/d3drm/texture.c
View file @
39991e75
...
...
@@ -755,11 +755,10 @@ static HRESULT WINAPI IDirect3DRMTexture3Impl_SetCacheOptions(IDirect3DRMTexture
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirect3DRMTexture3Impl_GetCacheOptions
(
IDirect3DRMTexture3
*
iface
,
LPLONG
importance
,
LPDWORD
flags
)
static
HRESULT
WINAPI
IDirect3DRMTexture3Impl_GetCacheOptions
(
IDirect3DRMTexture3
*
iface
,
LONG
*
importance
,
DWORD
*
flags
)
{
IDirect3DRMTextureImpl
*
This
=
impl_from_IDirect3DRMTexture3
(
iface
);
FIXME
(
"(%p/%p)->(%p, %p): stub
\n
"
,
iface
,
This
,
importance
,
flags
);
FIXME
(
"iface %p, importance %p, flags %p stub!
\n
"
,
iface
,
importance
,
flags
);
return
E_NOTIMPL
;
}
...
...
include/d3drm.h
View file @
39991e75
...
...
@@ -385,11 +385,11 @@ DECLARE_INTERFACE_(IDirect3DRM3,IUnknown)
IDirect3DRMFrame3
*
parent_frame
)
PURE
;
STDMETHOD
(
Tick
)(
THIS_
D3DVALUE
)
PURE
;
STDMETHOD
(
CreateProgressiveMesh
)(
THIS_
IDirect3DRMProgressiveMesh
**
mesh
)
PURE
;
STDMETHOD
(
RegisterClient
)(
THIS_
REFGUID
rguid
,
LPDWORD
lpdwID
)
PURE
;
STDMETHOD
(
RegisterClient
)(
THIS_
REFGUID
guid
,
DWORD
*
id
)
PURE
;
STDMETHOD
(
UnregisterClient
)(
THIS_
REFGUID
rguid
)
PURE
;
STDMETHOD
(
CreateClippedVisual
)(
THIS_
IDirect3DRMVisual
*
visual
,
IDirect3DRMClippedVisual
**
clipped_visual
)
PURE
;
STDMETHOD
(
SetOptions
)(
THIS_
DWORD
)
PURE
;
STDMETHOD
(
GetOptions
)(
THIS_
LPDWORD
)
PURE
;
STDMETHOD
(
GetOptions
)(
THIS_
DWORD
*
flags
)
PURE
;
};
#undef INTERFACE
...
...
include/d3drmobj.h
View file @
39991e75
...
...
@@ -265,7 +265,7 @@ DECLARE_INTERFACE_(IDirect3DRMObject2,IUnknown)
STDMETHOD
(
GetName
)(
THIS_
DWORD
*
size
,
char
*
name
)
PURE
;
STDMETHOD
(
SetClientData
)(
THIS_
DWORD
id
,
void
*
data
,
DWORD
flags
)
PURE
;
STDMETHOD
(
SetName
)(
THIS_
const
char
*
name
)
PURE
;
STDMETHOD
(
GetAge
)(
THIS_
DWORD
flags
,
LPDWORD
pA
ge
)
PURE
;
STDMETHOD
(
GetAge
)(
THIS_
DWORD
flags
,
DWORD
*
a
ge
)
PURE
;
};
#undef INTERFACE
...
...
@@ -681,7 +681,7 @@ DECLARE_INTERFACE_(IDirect3DRMDevice3,IDirect3DRMObject)
STDMETHOD
(
FindPreferredTextureFormat
)(
THIS_
DWORD
BitDepths
,
DWORD
flags
,
DDPIXELFORMAT
*
format
)
PURE
;
STDMETHOD
(
RenderStateChange
)(
THIS_
D3DRENDERSTATETYPE
drsType
,
DWORD
val
,
DWORD
flags
)
PURE
;
STDMETHOD
(
LightStateChange
)(
THIS_
D3DLIGHTSTATETYPE
drsType
,
DWORD
val
,
DWORD
flags
)
PURE
;
STDMETHOD
(
GetStateChangeOptions
)(
THIS_
DWORD
StateClass
,
DWORD
StateNum
,
LPDWORD
pF
lags
)
PURE
;
STDMETHOD
(
GetStateChangeOptions
)(
THIS_
DWORD
state_class
,
DWORD
state_idx
,
DWORD
*
f
lags
)
PURE
;
STDMETHOD
(
SetStateChangeOptions
)(
THIS_
DWORD
StateClass
,
DWORD
StateNum
,
DWORD
flags
)
PURE
;
};
#undef INTERFACE
...
...
@@ -1693,9 +1693,9 @@ DECLARE_INTERFACE_(IDirect3DRMFrame3,IDirect3DRMVisual)
STDMETHOD
(
InverseTransformVectors
)(
THIS_
IDirect3DRMFrame3
*
reference
,
DWORD
vector_count
,
D3DVECTOR
*
dst_vectors
,
D3DVECTOR
*
src_vectors
)
PURE
;
STDMETHOD
(
SetTraversalOptions
)(
THIS_
DWORD
flags
)
PURE
;
STDMETHOD
(
GetTraversalOptions
)(
THIS_
LPDWORD
pF
lags
)
PURE
;
STDMETHOD
(
GetTraversalOptions
)(
THIS_
DWORD
*
f
lags
)
PURE
;
STDMETHOD
(
SetSceneFogMethod
)(
THIS_
DWORD
flags
)
PURE
;
STDMETHOD
(
GetSceneFogMethod
)(
THIS_
LPDWORD
pFlags
)
PURE
;
STDMETHOD
(
GetSceneFogMethod
)(
THIS_
DWORD
*
fog_mode
)
PURE
;
STDMETHOD
(
SetMaterialOverride
)(
THIS_
D3DRMMATERIALOVERRIDE
*
override
)
PURE
;
STDMETHOD
(
GetMaterialOverride
)(
THIS_
D3DRMMATERIALOVERRIDE
*
override
)
PURE
;
};
...
...
@@ -2029,12 +2029,12 @@ DECLARE_INTERFACE_(IDirect3DRMProgressiveMesh,IDirect3DRMVisual)
STDMETHOD
(
GetLoadStatus
)
(
THIS_
D3DRMPMESHLOADSTATUS
*
status
)
PURE
;
STDMETHOD
(
SetMinRenderDetail
)
(
THIS_
D3DVALUE
d3dVal
)
PURE
;
STDMETHOD
(
Abort
)
(
THIS_
DWORD
flags
)
PURE
;
STDMETHOD
(
GetFaceDetail
)
(
THIS_
LPDWORD
pC
ount
)
PURE
;
STDMETHOD
(
GetVertexDetail
)
(
THIS_
LPDWORD
pC
ount
)
PURE
;
STDMETHOD
(
GetFaceDetail
)
(
THIS_
DWORD
*
c
ount
)
PURE
;
STDMETHOD
(
GetVertexDetail
)
(
THIS_
DWORD
*
c
ount
)
PURE
;
STDMETHOD
(
SetFaceDetail
)
(
THIS_
DWORD
count
)
PURE
;
STDMETHOD
(
SetVertexDetail
)
(
THIS_
DWORD
count
)
PURE
;
STDMETHOD
(
GetFaceDetailRange
)
(
THIS_
LPDWORD
pMin
,
LPDWORD
pMax
)
PURE
;
STDMETHOD
(
GetVertexDetailRange
)
(
THIS_
LPDWORD
pMin
,
LPDWORD
pMax
)
PURE
;
STDMETHOD
(
GetFaceDetailRange
)
(
THIS_
DWORD
*
min_detail
,
DWORD
*
max_detail
)
PURE
;
STDMETHOD
(
GetVertexDetailRange
)
(
THIS_
DWORD
*
min_detail
,
DWORD
*
max_detail
)
PURE
;
STDMETHOD
(
GetDetail
)
(
THIS_
D3DVALUE
*
pdvVal
)
PURE
;
STDMETHOD
(
SetDetail
)
(
THIS_
D3DVALUE
d3dVal
)
PURE
;
STDMETHOD
(
RegisterEvents
)
(
THIS_
HANDLE
event
,
DWORD
flags
,
DWORD
reserved
)
PURE
;
...
...
@@ -2204,7 +2204,7 @@ DECLARE_INTERFACE_(IDirect3DRMShadow2,IDirect3DRMVisual)
D3DVALUE
*
nx
,
D3DVALUE
*
ny
,
D3DVALUE
*
nz
)
PURE
;
STDMETHOD
(
SetPlane
)(
THIS_
D3DVALUE
px
,
D3DVALUE
py
,
D3DVALUE
pz
,
D3DVALUE
nx
,
D3DVALUE
ny
,
D3DVALUE
nz
,
DWORD
)
PURE
;
STDMETHOD
(
GetOptions
)(
THIS_
LPDWORD
)
PURE
;
STDMETHOD
(
GetOptions
)(
THIS_
DWORD
*
flags
)
PURE
;
STDMETHOD
(
SetOptions
)(
THIS_
DWORD
)
PURE
;
};
#undef INTERFACE
...
...
@@ -3463,7 +3463,7 @@ DECLARE_INTERFACE_(IDirect3DRMTexture3, IDirect3DRMVisual)
STDMETHOD
(
GenerateMIPMap
)(
THIS_
DWORD
)
PURE
;
STDMETHOD
(
GetSurface
)(
THIS_
DWORD
flags
,
IDirectDrawSurface
**
surface
)
PURE
;
STDMETHOD
(
SetCacheOptions
)(
THIS_
LONG
lImportance
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
GetCacheOptions
)(
THIS_
L
PLONG
lplImportance
,
LPDWORD
lpdwF
lags
)
PURE
;
STDMETHOD
(
GetCacheOptions
)(
THIS_
L
ONG
*
importance
,
DWORD
*
f
lags
)
PURE
;
STDMETHOD
(
SetDownsampleCallback
)(
THIS_
D3DRMDOWNSAMPLECALLBACK
cb
,
void
*
ctx
)
PURE
;
STDMETHOD
(
SetValidationCallback
)(
THIS_
D3DRMVALIDATIONCALLBACK
cb
,
void
*
ctx
)
PURE
;
};
...
...
@@ -4643,7 +4643,7 @@ DECLARE_INTERFACE_(IDirect3DRMClippedVisual, IDirect3DRMVisual)
STDMETHOD
(
AddPlane
)
(
THIS_
IDirect3DRMFrame3
*
reference
,
D3DVECTOR
*
point
,
D3DVECTOR
*
normal
,
DWORD
flags
,
DWORD
*
id
)
PURE
;
STDMETHOD
(
DeletePlane
)(
THIS_
DWORD
,
DWORD
)
PURE
;
STDMETHOD
(
GetPlaneIDs
)(
THIS_
LPDWORD
,
LPDWORD
,
DWORD
)
PURE
;
STDMETHOD
(
GetPlaneIDs
)(
THIS_
DWORD
*
count
,
DWORD
*
id
,
DWORD
flags
)
PURE
;
STDMETHOD
(
GetPlane
)
(
THIS_
DWORD
id
,
IDirect3DRMFrame3
*
reference
,
D3DVECTOR
*
point
,
D3DVECTOR
*
normal
,
DWORD
flags
)
PURE
;
STDMETHOD
(
SetPlane
)
(
THIS_
DWORD
id
,
IDirect3DRMFrame3
*
reference
,
D3DVECTOR
*
point
,
...
...
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