From 382d5f769b36122efa30743175433b80ef919198 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Sun, 25 Jul 2021 10:55:55 +0200 Subject: [PATCH] gdi32: Use ntgdi names for stubs in painting.c. Signed-off-by: Jacek Caban Signed-off-by: Huw Davies Signed-off-by: Alexandre Julliard --- dlls/gdi32/gdi32.spec | 6 +++--- dlls/gdi32/painting.c | 17 ++++++----------- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/dlls/gdi32/gdi32.spec b/dlls/gdi32/gdi32.spec index 299b84268a5..aef85c88d7d 100644 --- a/dlls/gdi32/gdi32.spec +++ b/dlls/gdi32/gdi32.spec @@ -181,9 +181,9 @@ @ stub GdiDeleteLocalDC @ stub GdiDeleteLocalObject # @ stub GdiDeleteSpoolFileHandle -@ stdcall GdiDescribePixelFormat(long long long ptr) +@ stdcall GdiDescribePixelFormat(long long long ptr) NtGdiDescribePixelFormat @ stdcall GdiDllInitialize(ptr long ptr) -@ stdcall GdiDrawStream(long long ptr) +@ stdcall GdiDrawStream(long long ptr) NtGdiDrawStream # @ stub GdiEndDocEMF # @ stub GdiEndPageEMF @ stdcall GdiEntry13() @@ -230,7 +230,7 @@ @ stub GdiSetServerAttr # @ stub GdiStartDocEMF # @ stub GdiStartPageEMF -@ stdcall GdiSwapBuffers(long) +@ stdcall GdiSwapBuffers(long) NtGdiSwapBuffers @ stdcall GdiTransparentBlt(long long long long long long long long long long long) # @ stub GdiValidateHandle @ stub GdiWinWatchClose diff --git a/dlls/gdi32/painting.c b/dlls/gdi32/painting.c index 725a8490f39..1c99167e8ad 100644 --- a/dlls/gdi32/painting.c +++ b/dlls/gdi32/painting.c @@ -453,11 +453,9 @@ BOOL WINAPI NtGdiSetPixelFormat( HDC hdc, INT format ) /****************************************************************************** - * GdiDescribePixelFormat [GDI32.@] - * - * Probably not the correct semantics, it's supposed to be an internal backend for DescribePixelFormat. + * NtGdiDescribePixelFormat (win32u.@) */ -INT WINAPI GdiDescribePixelFormat( HDC hdc, INT format, UINT size, PIXELFORMATDESCRIPTOR *descr ) +INT WINAPI NtGdiDescribePixelFormat( HDC hdc, INT format, UINT size, PIXELFORMATDESCRIPTOR *descr ) { FIXME( "(%p,%d,%d,%p): stub\n", hdc, format, size, descr ); return 0; @@ -465,11 +463,9 @@ INT WINAPI GdiDescribePixelFormat( HDC hdc, INT format, UINT size, PIXELFORMATDE /****************************************************************************** - * GdiSwapBuffers [GDI32.@] - * - * Probably not the correct semantics, it's supposed to be an internal backend for SwapBuffers. + * NtGdiSwapBuffers (win32u.@) */ -BOOL WINAPI GdiSwapBuffers( HDC hdc ) +BOOL WINAPI NtGdiSwapBuffers( HDC hdc ) { FIXME( "(%p): stub\n", hdc ); return FALSE; @@ -993,10 +989,9 @@ BOOL WINAPI GdiGradientFill( HDC hdc, TRIVERTEX *vert_array, ULONG nvert, } /****************************************************************************** - * GdiDrawStream (GDI32.@) - * + * NtGdiDrawStream (win32u.@) */ -BOOL WINAPI GdiDrawStream( HDC hdc, ULONG in, void * pvin ) +BOOL WINAPI NtGdiDrawStream( HDC hdc, ULONG in, void *pvin ) { FIXME("stub: %p, %d, %p\n", hdc, in, pvin); return FALSE;