git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
branch update for HEAD-2003091401
[reactos.git]
/
lib
/
user32
/
windows
/
dc.c
diff --git
a/lib/user32/windows/dc.c
b/lib/user32/windows/dc.c
index
7437e8d
..
bfb95a6
100644
(file)
--- a/
lib/user32/windows/dc.c
+++ b/
lib/user32/windows/dc.c
@@
-34,6
+34,9
@@
/* FUNCTIONS *****************************************************************/
/* FUNCTIONS *****************************************************************/
+/*
+ * @implemented
+ */
HDC
STDCALL
GetDC(
HDC
STDCALL
GetDC(
@@
-42,6
+45,10
@@
GetDC(
return NtUserGetDC(hWnd);
}
return NtUserGetDC(hWnd);
}
+
+/*
+ * @implemented
+ */
HDC
STDCALL
GetDCEx(
HDC
STDCALL
GetDCEx(
@@
-51,6
+58,11
@@
GetDCEx(
{
return NtUserGetDCEx(hWnd, hrgnClip, flags);
}
{
return NtUserGetDCEx(hWnd, hrgnClip, flags);
}
+
+
+/*
+ * @implemented
+ */
HDC
STDCALL
GetWindowDC(
HDC
STDCALL
GetWindowDC(
@@
-58,18
+70,29
@@
GetWindowDC(
{
return (HDC)NtUserGetWindowDC(hWnd);
}
{
return (HDC)NtUserGetWindowDC(hWnd);
}
+
+
+/*
+ * @unimplemented
+ */
int
STDCALL
ReleaseDC(
HWND hWnd,
HDC hDC)
{
int
STDCALL
ReleaseDC(
HWND hWnd,
HDC hDC)
{
+ UNIMPLEMENTED;
return 0;
}
return 0;
}
+
+
+/*
+ * @implemented
+ */
HWND
STDCALL
WindowFromDC(
HDC hDC)
{
HWND
STDCALL
WindowFromDC(
HDC hDC)
{
- return (HWND)
0
;
+ return (HWND)
NtUserCallOneParam((DWORD)hDC, ONEPARAM_ROUTINE_WINDOWFROMDC)
;
}
}