Author: tkreuzer
Date: Sat Dec 1 04:31:10 2007
New Revision: 30926
URL:
http://svn.reactos.org/svn/reactos?rev=30926&view=rev
Log:
use PatBlt and SelectObject instead of Nt functions
Modified:
trunk/reactos/dll/win32/user32/windows/draw.c
Modified: trunk/reactos/dll/win32/user32/windows/draw.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/d…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/draw.c (original)
+++ trunk/reactos/dll/win32/user32/windows/draw.c Sat Dec 1 04:31:10 2007
@@ -1828,13 +1828,13 @@
{
hbr = GetSysColorBrush((int)hbr - 1);
}
- if ((prevhbr = NtGdiSelectObject(hDC, hbr)) == NULL)
+ if ((prevhbr = SelectObject(hDC, hbr)) == NULL)
{
return FALSE;
}
- NtGdiPatBlt(hDC, lprc->left, lprc->top, lprc->right - lprc->left,
+ PatBlt(hDC, lprc->left, lprc->top, lprc->right - lprc->left,
lprc->bottom - lprc->top, PATCOPY);
- NtGdiSelectObject(hDC, prevhbr);
+ SelectObject(hDC, prevhbr);
return TRUE;
}