Alexandre Julliard : wow64win: Fix some prototype mismatches.

Alexandre Julliard julliard at winehq.org
Wed Jan 26 15:57:30 CST 2022


Module: wine
Branch: master
Commit: 0720b151227593f4c7b91c409ebbcd39f5faae4e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=0720b151227593f4c7b91c409ebbcd39f5faae4e

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Jan 26 11:49:14 2022 +0100

wow64win: Fix some prototype mismatches.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wow64win/gdi.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/wow64win/gdi.c b/dlls/wow64win/gdi.c
index 348c3259f2e..3abe6daeda4 100644
--- a/dlls/wow64win/gdi.c
+++ b/dlls/wow64win/gdi.c
@@ -252,7 +252,7 @@ NTSTATUS WINAPI wow64_NtGdiEqualRgn( UINT *args )
     return NtGdiEqualRgn( hrgn1, hrgn2 );
 }
 
-INT WINAPI wow64_NtGdiGetRgnBox( UINT *args )
+NTSTATUS WINAPI wow64_NtGdiGetRgnBox( UINT *args )
 {
     HRGN hrgn = get_handle( &args );
     RECT *rect = get_ptr( &args );
@@ -260,7 +260,7 @@ INT WINAPI wow64_NtGdiGetRgnBox( UINT *args )
     return NtGdiGetRgnBox( hrgn, rect );
 }
 
-BOOL WINAPI wow64_NtGdiSetRectRgn( UINT *args )
+NTSTATUS WINAPI wow64_NtGdiSetRectRgn( UINT *args )
 {
     HRGN hrgn = get_handle( &args );
     INT left = get_ulong( &args );
@@ -271,7 +271,7 @@ BOOL WINAPI wow64_NtGdiSetRectRgn( UINT *args )
     return NtGdiSetRectRgn( hrgn, left, top, right, bottom );
 }
 
-INT WINAPI wow64_NtGdiOffsetRgn( UINT *args )
+NTSTATUS WINAPI wow64_NtGdiOffsetRgn( UINT *args )
 {
     HRGN hrgn = get_handle( &args );
     INT x = get_ulong( &args );
@@ -299,7 +299,7 @@ NTSTATUS WINAPI wow64_NtGdiPtInRegion( UINT *args )
     return NtGdiPtInRegion( hrgn, x, y );
 }
 
-BOOL WINAPI wow64_NtGdiRectInRegion( UINT *args )
+NTSTATUS WINAPI wow64_NtGdiRectInRegion( UINT *args )
 {
     HRGN hrgn = get_handle( &args );
     const RECT *rect = get_ptr( &args );
@@ -321,7 +321,7 @@ NTSTATUS WINAPI wow64_NtGdiSaveDC( UINT *args )
     return NtGdiSaveDC( hdc );
 }
 
-BOOL WINAPI wow64_NtGdiSetBrushOrg( UINT *args )
+NTSTATUS WINAPI wow64_NtGdiSetBrushOrg( UINT *args )
 {
     HDC hdc = get_handle( &args );
     INT x = get_ulong( &args );
@@ -331,7 +331,7 @@ BOOL WINAPI wow64_NtGdiSetBrushOrg( UINT *args )
     return NtGdiSetBrushOrg( hdc, x, y, prev_org );
 }
 
-BOOL WINAPI wow64_NtGdiGetTransform( UINT *args )
+NTSTATUS WINAPI wow64_NtGdiGetTransform( UINT *args )
 {
     HDC hdc = get_handle( &args );
     DWORD which = get_ulong( &args );




More information about the wine-cvs mailing list