ddraw: Small function corrections.
The pPlaneEquation parameter of IDirect3DDevice7::SetClipPlane is not const
IDirect3DDevice2::NextViewport takes an IDirect3DDevice2 interface, not an 
IDirect3DDevice3, the same for IDirect3DDevice::NextViewport.
diff --git a/dlls/ddraw/d3d_private.h b/dlls/ddraw/d3d_private.h
index 9503768..d55b80c 100644
--- a/dlls/ddraw/d3d_private.h
+++ b/dlls/ddraw/d3d_private.h
@@ -957,13 +957,13 @@
 					   LPDIRECT3DVIEWPORT lpDirect3DViewport);
 
 HRESULT WINAPI
-Thunk_IDirect3DDeviceImpl_2_NextViewport(LPDIRECT3DDEVICE3 iface,
+Thunk_IDirect3DDeviceImpl_2_NextViewport(LPDIRECT3DDEVICE2 iface,
 					 LPDIRECT3DVIEWPORT2 lpDirect3DViewport2,
 					 LPDIRECT3DVIEWPORT2* lplpDirect3DViewport2,
 					 DWORD dwFlags);
 
 HRESULT WINAPI
-Thunk_IDirect3DDeviceImpl_1_NextViewport(LPDIRECT3DDEVICE3 iface,
+Thunk_IDirect3DDeviceImpl_1_NextViewport(LPDIRECT3DDEVICE iface,
 					 LPDIRECT3DVIEWPORT lpDirect3DViewport,
 					 LPDIRECT3DVIEWPORT* lplpDirect3DViewport,
 					 DWORD dwFlags);
diff --git a/dlls/ddraw/device_main.c b/dlls/ddraw/device_main.c
index 98efdf2..087e8ed 100644
--- a/dlls/ddraw/device_main.c
+++ b/dlls/ddraw/device_main.c
@@ -1599,7 +1599,7 @@
 }
 
 HRESULT WINAPI
-Thunk_IDirect3DDeviceImpl_2_NextViewport(LPDIRECT3DDEVICE3 iface,
+Thunk_IDirect3DDeviceImpl_2_NextViewport(LPDIRECT3DDEVICE2 iface,
 					 LPDIRECT3DVIEWPORT2 lpDirect3DViewport2,
 					 LPDIRECT3DVIEWPORT2* lplpDirect3DViewport2,
 					 DWORD dwFlags)
@@ -1612,7 +1612,7 @@
 }
 
 HRESULT WINAPI
-Thunk_IDirect3DDeviceImpl_1_NextViewport(LPDIRECT3DDEVICE3 iface,
+Thunk_IDirect3DDeviceImpl_1_NextViewport(LPDIRECT3DDEVICE iface,
 					 LPDIRECT3DVIEWPORT lpDirect3DViewport,
 					 LPDIRECT3DVIEWPORT* lplpDirect3DViewport,
 					 DWORD dwFlags)
diff --git a/dlls/ddraw/device_opengl.c b/dlls/ddraw/device_opengl.c
index 16c5e94..e2e6299 100644
--- a/dlls/ddraw/device_opengl.c
+++ b/dlls/ddraw/device_opengl.c
@@ -2615,7 +2615,7 @@
 }
 
 HRESULT  WINAPI  
-GL_IDirect3DDeviceImpl_7_SetClipPlane(LPDIRECT3DDEVICE7 iface, DWORD dwIndex, CONST D3DVALUE* pPlaneEquation) 
+GL_IDirect3DDeviceImpl_7_SetClipPlane(LPDIRECT3DDEVICE7 iface, DWORD dwIndex, D3DVALUE* pPlaneEquation) 
 {
     IDirect3DDeviceImpl *This = (IDirect3DDeviceImpl *)iface;
     IDirect3DDeviceGLImpl* glThis = (IDirect3DDeviceGLImpl*) This;