Francois Gouget : d3d8: Better match the PSDK types and fix the winapi_check warnings.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Aug 3 08:04:44 CDT 2007


Module: wine
Branch: master
Commit: 69958262eb6ff322a46690dd0ffbd1f9d310decd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=69958262eb6ff322a46690dd0ffbd1f9d310decd

Author: Francois Gouget <fgouget at free.fr>
Date:   Fri Aug  3 00:47:02 2007 +0200

d3d8: Better match the PSDK types and fix the winapi_check warnings.

---

 dlls/d3d8/d3d8_main.c  |    4 ++--
 tools/winapi/win32.api |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/d3d8/d3d8_main.c b/dlls/d3d8/d3d8_main.c
index 4922b10..63cb472 100644
--- a/dlls/d3d8/d3d8_main.c
+++ b/dlls/d3d8/d3d8_main.c
@@ -78,7 +78,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
  * bool seems always passed as 0 or 1, but other values work as well.... 
  * toto       result?
  */
-HRESULT WINAPI ValidateVertexShader(DWORD* vertexshader, DWORD* reserved1, DWORD* reserved2, int bool, DWORD* toto)
+HRESULT WINAPI ValidateVertexShader(DWORD* vertexshader, DWORD* reserved1, DWORD* reserved2, BOOL bool, DWORD* toto)
 { 
   HRESULT ret;
   FIXME("(%p %p %p %d %p): stub\n", vertexshader, reserved1, reserved2, bool, toto);
@@ -108,7 +108,7 @@ HRESULT WINAPI ValidateVertexShader(DWORD* vertexshader, DWORD* reserved1, DWORD
  * PARAMS
  * toto       result?
  */
-HRESULT WINAPI ValidatePixelShader(DWORD* pixelshader, DWORD* reserved1, int bool, DWORD* toto)
+HRESULT WINAPI ValidatePixelShader(DWORD* pixelshader, DWORD* reserved1, BOOL bool, DWORD* toto)
 {
   HRESULT ret;
   FIXME("(%p %p %d %p): stub\n", pixelshader, reserved1, bool, toto);
diff --git a/tools/winapi/win32.api b/tools/winapi/win32.api
index 2a5fd92..520a432 100644
--- a/tools/winapi/win32.api
+++ b/tools/winapi/win32.api
@@ -792,8 +792,8 @@ UINT
 
 %ptr
 
+DWORD *
 IDirect3D8 *
-LPVOID
 
 %void
 




More information about the wine-cvs mailing list