Implemented GetWindowDC()

svn path=/trunk/; revision=4235
This commit is contained in:
Richard Campbell 2003-03-04 00:40:37 +00:00
parent 8abf7a676f
commit e67fee744a
3 changed files with 6 additions and 8 deletions

View file

@ -814,7 +814,7 @@ NtUserGetUpdateRgn(
DWORD
STDCALL
NtUserGetWindowDC(
DWORD Unknown0);
HWND hWnd);
DWORD
STDCALL

View file

@ -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

View file

@ -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