diff --git a/reactos/include/win32k/ntuser.h b/reactos/include/win32k/ntuser.h index c515fb73ad1..d841c834978 100644 --- a/reactos/include/win32k/ntuser.h +++ b/reactos/include/win32k/ntuser.h @@ -814,7 +814,7 @@ NtUserGetUpdateRgn( DWORD STDCALL NtUserGetWindowDC( - DWORD Unknown0); + HWND hWnd); DWORD STDCALL diff --git a/reactos/lib/user32/windows/dc.c b/reactos/lib/user32/windows/dc.c index b390370c49f..7e9eb3dd4e8 100644 --- a/reactos/lib/user32/windows/dc.c +++ b/reactos/lib/user32/windows/dc.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: dc.c,v 1.9 2002/09/08 10:23:12 chorns Exp $ +/* $Id: dc.c,v 1.10 2003/03/04 00:40:37 rcampbell Exp $ * * PROJECT: ReactOS user32.dll * FILE: lib/user32/windows/input.c @@ -56,7 +56,7 @@ STDCALL GetWindowDC( HWND hWnd) { - return (HDC)0; + return (HDC)NtUserGetWindowDC(hWnd); } int STDCALL diff --git a/reactos/subsys/win32k/ntuser/window.c b/reactos/subsys/win32k/ntuser/window.c index 55bef24d802..8d15fc24d4f 100644 --- a/reactos/subsys/win32k/ntuser/window.c +++ b/reactos/subsys/win32k/ntuser/window.c @@ -1,4 +1,4 @@ -/* $Id: window.c,v 1.22 2003/03/03 18:57:26 rcampbell Exp $ +/* $Id: window.c,v 1.23 2003/03/04 00:39:56 rcampbell Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -734,11 +734,9 @@ NtUserGetOpenClipboardWindow(VOID) } DWORD STDCALL -NtUserGetWindowDC(DWORD Unknown0) +NtUserGetWindowDC(HWND hWnd) { - UNIMPLEMENTED - - return 0; + return NtUserGetDCEx( hWnd, 0, DCX_USESTYLE | DCX_WINDOW ); } DWORD STDCALL