[PATCH 1/2] d3drm: Avoid HRESULT codes for BOOL retval methods (PVS-Studio)
Nikolay Sivov
nsivov at codeweavers.com
Mon Oct 12 14:25:28 CDT 2015
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/d3drm/frame.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/d3drm/frame.c b/dlls/d3drm/frame.c
index 4f9d952..f20040b 100644
--- a/dlls/d3drm/frame.c
+++ b/dlls/d3drm/frame.c
@@ -1073,7 +1073,7 @@ static BOOL WINAPI d3drm_frame2_GetBoxEnable(IDirect3DRMFrame2 *iface)
{
FIXME("iface %p stub!\n", iface);
- return E_NOTIMPL;
+ return FALSE;
}
static HRESULT WINAPI d3drm_frame2_GetAxes(IDirect3DRMFrame2 *iface, D3DVECTOR *dir, D3DVECTOR *up)
@@ -1094,7 +1094,7 @@ static BOOL WINAPI d3drm_frame2_GetInheritAxes(IDirect3DRMFrame2 *iface)
{
FIXME("iface %p stub!\n", iface);
- return E_NOTIMPL;
+ return FALSE;
}
static HRESULT WINAPI d3drm_frame2_GetHierarchyBox(IDirect3DRMFrame2 *iface, D3DRMBOX *box)
@@ -2014,7 +2014,7 @@ static BOOL WINAPI d3drm_frame3_GetBoxEnable(IDirect3DRMFrame3 *iface)
{
FIXME("iface %p stub!\n", iface);
- return E_NOTIMPL;
+ return FALSE;
}
static HRESULT WINAPI d3drm_frame3_GetAxes(IDirect3DRMFrame3 *iface, D3DVECTOR *dir, D3DVECTOR *up)
@@ -2035,7 +2035,7 @@ static BOOL WINAPI d3drm_frame3_GetInheritAxes(IDirect3DRMFrame3 *iface)
{
FIXME("iface %p stub!\n", iface);
- return E_NOTIMPL;
+ return FALSE;
}
static HRESULT WINAPI d3drm_frame3_GetHierarchyBox(IDirect3DRMFrame3 *iface, D3DRMBOX *box)
--
2.6.1
More information about the wine-patches
mailing list