added @implemented/@unimplemented comments

svn path=/trunk/; revision=5730
This commit is contained in:
Thomas Bluemel 2003-08-21 22:17:56 +00:00
parent 6a048dddff
commit 426e7567ba

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
/* $Id: window.c,v 1.101 2003/08/21 21:52:06 weiden Exp $ /* $Id: window.c,v 1.102 2003/08/21 22:17:56 weiden Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -107,6 +107,9 @@ IntGetAncestor(PWINDOW_OBJECT Wnd, UINT Type)
} }
/*
* @implemented
*/
HWND STDCALL HWND STDCALL
NtUserGetAncestor(HWND hWnd, UINT Type) NtUserGetAncestor(HWND hWnd, UINT Type)
{ {
@ -145,6 +148,9 @@ IntGetParent(PWINDOW_OBJECT Wnd)
} }
/*
* @implemented
*/
HWND STDCALL HWND STDCALL
NtUserGetParent(HWND hWnd) NtUserGetParent(HWND hWnd)
{ {
@ -416,6 +422,9 @@ IntGetClientRect(PWINDOW_OBJECT WindowObject, PRECT Rect)
* \param hWnd window handle. * \param hWnd window handle.
* \param Rect pointer to the buffer where the coordinates are returned. * \param Rect pointer to the buffer where the coordinates are returned.
*/ */
/*
* @implemented
*/
BOOL STDCALL BOOL STDCALL
NtUserGetWindowRect(HWND hWnd, LPRECT Rect) NtUserGetWindowRect(HWND hWnd, LPRECT Rect)
{ {
@ -448,6 +457,9 @@ NtUserGetWindowRect(HWND hWnd, LPRECT Rect)
* \param Rect pointer to the buffer where the coordinates are returned. * \param Rect pointer to the buffer where the coordinates are returned.
* *
*/ */
/*
* @implemented
*/
BOOL STDCALL BOOL STDCALL
NtUserGetClientRect(HWND hWnd, LPRECT Rect) NtUserGetClientRect(HWND hWnd, LPRECT Rect)
{ {
@ -521,6 +533,9 @@ CleanupWindowImpl(VOID)
} }
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
NtUserAlterWindowStyle(DWORD Unknown0, NtUserAlterWindowStyle(DWORD Unknown0,
DWORD Unknown1, DWORD Unknown1,
@ -531,6 +546,10 @@ NtUserAlterWindowStyle(DWORD Unknown0,
return(0); return(0);
} }
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
NtUserChildWindowFromPointEx(HWND Parent, NtUserChildWindowFromPointEx(HWND Parent,
LONG x, LONG x,
@ -668,6 +687,9 @@ IntUnlinkWindow(PWINDOW_OBJECT Wnd)
} }
/*
* @implemented
*/
HWND STDCALL HWND STDCALL
NtUserCreateWindowEx(DWORD dwExStyle, NtUserCreateWindowEx(DWORD dwExStyle,
PUNICODE_STRING lpClassName, PUNICODE_STRING lpClassName,
@ -1251,6 +1273,10 @@ static LRESULT IntDestroyWindow(PWINDOW_OBJECT Window,
return 0; return 0;
} }
/*
* @implemented
*/
BOOLEAN STDCALL BOOLEAN STDCALL
NtUserDestroyWindow(HWND Wnd) NtUserDestroyWindow(HWND Wnd)
{ {
@ -1419,6 +1445,10 @@ DestroyThreadWindows(struct _ETHREAD *Thread)
ExReleaseFastMutexUnsafe(&Win32Thread->WindowListLock); ExReleaseFastMutexUnsafe(&Win32Thread->WindowListLock);
} }
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
NtUserEndDeferWindowPosEx(DWORD Unknown0, NtUserEndDeferWindowPosEx(DWORD Unknown0,
DWORD Unknown1) DWORD Unknown1)
@ -1428,6 +1458,10 @@ NtUserEndDeferWindowPosEx(DWORD Unknown0,
return 0; return 0;
} }
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
NtUserFillWindow(DWORD Unknown0, NtUserFillWindow(DWORD Unknown0,
DWORD Unknown1, DWORD Unknown1,
@ -1463,7 +1497,9 @@ NtUserFillWindow(DWORD Unknown0,
* Should use MmCopyFromCaller, we don't want an access violation in here * Should use MmCopyFromCaller, we don't want an access violation in here
* *
*/ */
/*
* @implemented
*/
HWND STDCALL HWND STDCALL
NtUserFindWindowEx(HWND hwndParent, NtUserFindWindowEx(HWND hwndParent,
HWND hwndChildAfter, HWND hwndChildAfter,
@ -1544,6 +1580,10 @@ NtUserFindWindowEx(HWND hwndParent,
return NULL; return NULL;
} }
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
NtUserFlashWindowEx(DWORD Unknown0) NtUserFlashWindowEx(DWORD Unknown0)
{ {
@ -1552,6 +1592,10 @@ NtUserFlashWindowEx(DWORD Unknown0)
return 0; return 0;
} }
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
NtUserGetForegroundWindow(VOID) NtUserGetForegroundWindow(VOID)
{ {
@ -1560,6 +1604,10 @@ NtUserGetForegroundWindow(VOID)
return 0; return 0;
} }
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
NtUserGetInternalWindowPos(DWORD Unknown0, NtUserGetInternalWindowPos(DWORD Unknown0,
DWORD Unknown1, DWORD Unknown1,
@ -1570,6 +1618,10 @@ NtUserGetInternalWindowPos(DWORD Unknown0,
return 0; return 0;
} }
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
NtUserGetOpenClipboardWindow(VOID) NtUserGetOpenClipboardWindow(VOID)
{ {
@ -1578,12 +1630,20 @@ NtUserGetOpenClipboardWindow(VOID)
return 0; return 0;
} }
/*
* @implemented
*/
DWORD STDCALL DWORD STDCALL
NtUserGetWindowDC(HWND hWnd) NtUserGetWindowDC(HWND hWnd)
{ {
return (DWORD) NtUserGetDCEx( hWnd, 0, DCX_USESTYLE | DCX_WINDOW ); return (DWORD) NtUserGetDCEx( hWnd, 0, DCX_USESTYLE | DCX_WINDOW );
} }
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
NtUserGetWindowPlacement(DWORD Unknown0, NtUserGetWindowPlacement(DWORD Unknown0,
DWORD Unknown1) DWORD Unknown1)
@ -1593,6 +1653,10 @@ NtUserGetWindowPlacement(DWORD Unknown0,
return 0; return 0;
} }
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
NtUserInternalGetWindowText(HWND hWnd, NtUserInternalGetWindowText(HWND hWnd,
LPWSTR lpString, LPWSTR lpString,
@ -1627,6 +1691,10 @@ NtUserInternalGetWindowText(HWND hWnd,
return res; return res;
} }
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
NtUserLockWindowUpdate(DWORD Unknown0) NtUserLockWindowUpdate(DWORD Unknown0)
{ {
@ -1635,6 +1703,10 @@ NtUserLockWindowUpdate(DWORD Unknown0)
return 0; return 0;
} }
/*
* @implemented
*/
BOOL STDCALL BOOL STDCALL
NtUserMoveWindow( NtUserMoveWindow(
HWND hWnd, HWND hWnd,
@ -1663,6 +1735,9 @@ NtUserMoveWindow(
DesktopWindow, it shutdown the system DesktopWindow, it shutdown the system
and rebooted. and rebooted.
*/ */
/*
* @implemented
*/
DWORD STDCALL DWORD STDCALL
NtUserQueryWindow(HWND hWnd, DWORD Index) NtUserQueryWindow(HWND hWnd, DWORD Index)
{ {
@ -1687,6 +1762,10 @@ PWINDOW_OBJECT Window = IntGetWindowObject(hWnd);
} }
/*
* @implemented
*/
DWORD STDCALL DWORD STDCALL
NtUserRealChildWindowFromPoint(DWORD Unknown0, NtUserRealChildWindowFromPoint(DWORD Unknown0,
DWORD Unknown1, DWORD Unknown1,
@ -1697,6 +1776,10 @@ NtUserRealChildWindowFromPoint(DWORD Unknown0,
return 0; return 0;
} }
/*
* @implemented
*/
BOOL BOOL
STDCALL STDCALL
NtUserRedrawWindow NtUserRedrawWindow
@ -1748,6 +1831,10 @@ NtUserRedrawWindow
return TRUE; return TRUE;
} }
/*
* @implemented
*/
UINT STDCALL UINT STDCALL
NtUserRegisterWindowMessage(PUNICODE_STRING MessageNameUnsafe) NtUserRegisterWindowMessage(PUNICODE_STRING MessageNameUnsafe)
{ {
@ -1814,6 +1901,10 @@ NtUserRegisterWindowMessage(PUNICODE_STRING MessageNameUnsafe)
return Msg; return Msg;
} }
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
NtUserScrollWindowEx(DWORD Unknown0, NtUserScrollWindowEx(DWORD Unknown0,
DWORD Unknown1, DWORD Unknown1,
@ -1829,6 +1920,10 @@ NtUserScrollWindowEx(DWORD Unknown0,
return 0; return 0;
} }
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
NtUserSetImeOwnerWindow(DWORD Unknown0, NtUserSetImeOwnerWindow(DWORD Unknown0,
DWORD Unknown1) DWORD Unknown1)
@ -1838,6 +1933,10 @@ NtUserSetImeOwnerWindow(DWORD Unknown0,
return 0; return 0;
} }
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
NtUserSetInternalWindowPos(DWORD Unknown0, NtUserSetInternalWindowPos(DWORD Unknown0,
DWORD Unknown1, DWORD Unknown1,
@ -1850,6 +1949,10 @@ NtUserSetInternalWindowPos(DWORD Unknown0,
} }
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
NtUserSetLayeredWindowAttributes(DWORD Unknown0, NtUserSetLayeredWindowAttributes(DWORD Unknown0,
DWORD Unknown1, DWORD Unknown1,
@ -1861,6 +1964,10 @@ NtUserSetLayeredWindowAttributes(DWORD Unknown0,
return 0; return 0;
} }
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
NtUserSetLogonNotifyWindow(DWORD Unknown0) NtUserSetLogonNotifyWindow(DWORD Unknown0)
{ {
@ -1875,6 +1982,10 @@ HWND hwndShellWindow = 0;
HWND hwndShellListView = 0; HWND hwndShellListView = 0;
DWORD pidShellWindow = 0; DWORD pidShellWindow = 0;
/*
* @implemented
*/
DWORD STDCALL DWORD STDCALL
NtUserSetShellWindowEx(HWND hwndShell, HWND hwndShellListView) NtUserSetShellWindowEx(HWND hwndShell, HWND hwndShellListView)
{ {
@ -1895,6 +2006,10 @@ NtUserSetShellWindowEx(HWND hwndShell, HWND hwndShellListView)
return TRUE; return TRUE;
} }
/*
* @implemented
*/
HWND STDCALL HWND STDCALL
NtUserGetShellWindow() NtUserGetShellWindow()
{ {
@ -1902,6 +2017,9 @@ NtUserGetShellWindow()
} }
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
NtUserSetWindowFNID(DWORD Unknown0, NtUserSetWindowFNID(DWORD Unknown0,
DWORD Unknown1) DWORD Unknown1)
@ -1911,6 +2029,10 @@ NtUserSetWindowFNID(DWORD Unknown0,
return 0; return 0;
} }
/*
* @implemented
*/
LONG STDCALL LONG STDCALL
NtUserGetWindowLong(HWND hWnd, DWORD Index, BOOL Ansi) NtUserGetWindowLong(HWND hWnd, DWORD Index, BOOL Ansi)
{ {
@ -1990,6 +2112,10 @@ NtUserGetWindowLong(HWND hWnd, DWORD Index, BOOL Ansi)
return Result; return Result;
} }
/*
* @implemented
*/
LONG STDCALL LONG STDCALL
NtUserSetWindowLong(HWND hWnd, DWORD Index, LONG NewValue, BOOL Ansi) NtUserSetWindowLong(HWND hWnd, DWORD Index, LONG NewValue, BOOL Ansi)
{ {
@ -2094,6 +2220,10 @@ NtUserSetWindowLong(HWND hWnd, DWORD Index, LONG NewValue, BOOL Ansi)
return(OldValue); return(OldValue);
} }
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
NtUserSetWindowPlacement(DWORD Unknown0, NtUserSetWindowPlacement(DWORD Unknown0,
DWORD Unknown1) DWORD Unknown1)
@ -2103,6 +2233,10 @@ NtUserSetWindowPlacement(DWORD Unknown0,
return 0; return 0;
} }
/*
* @implemented
*/
BOOL BOOL
STDCALL NtUserSetWindowPos( STDCALL NtUserSetWindowPos(
HWND hWnd, HWND hWnd,
@ -2116,6 +2250,10 @@ STDCALL NtUserSetWindowPos(
return WinPosSetWindowPos(hWnd, hWndInsertAfter, X, Y, cx, cy, uFlags); return WinPosSetWindowPos(hWnd, hWndInsertAfter, X, Y, cx, cy, uFlags);
} }
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
NtUserSetWindowRgn(DWORD Unknown0, NtUserSetWindowRgn(DWORD Unknown0,
DWORD Unknown1, DWORD Unknown1,
@ -2127,6 +2265,9 @@ NtUserSetWindowRgn(DWORD Unknown0,
} }
/*
* @unimplemented
*/
WORD STDCALL WORD STDCALL
NtUserSetWindowWord(HWND hWnd, INT Index, WORD NewVal) NtUserSetWindowWord(HWND hWnd, INT Index, WORD NewVal)
{ {
@ -2135,6 +2276,9 @@ NtUserSetWindowWord(HWND hWnd, INT Index, WORD NewVal)
} }
/*
* @implemented
*/
BOOL STDCALL BOOL STDCALL
NtUserShowWindow(HWND hWnd, NtUserShowWindow(HWND hWnd,
LONG nCmdShow) LONG nCmdShow)
@ -2142,6 +2286,10 @@ NtUserShowWindow(HWND hWnd,
return(WinPosShowWindow(hWnd, nCmdShow)); return(WinPosShowWindow(hWnd, nCmdShow));
} }
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
NtUserShowWindowAsync(DWORD Unknown0, NtUserShowWindowAsync(DWORD Unknown0,
DWORD Unknown1) DWORD Unknown1)
@ -2151,6 +2299,10 @@ NtUserShowWindowAsync(DWORD Unknown0,
return 0; return 0;
} }
/*
* @implemented
*/
BOOL STDCALL NtUserUpdateWindow( HWND hWnd ) BOOL STDCALL NtUserUpdateWindow( HWND hWnd )
{ {
PWINDOW_OBJECT pWindow = IntGetWindowObject( hWnd); PWINDOW_OBJECT pWindow = IntGetWindowObject( hWnd);
@ -2163,6 +2315,10 @@ BOOL STDCALL NtUserUpdateWindow( HWND hWnd )
return TRUE; return TRUE;
} }
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
NtUserUpdateLayeredWindow(DWORD Unknown0, NtUserUpdateLayeredWindow(DWORD Unknown0,
DWORD Unknown1, DWORD Unknown1,
@ -2179,6 +2335,10 @@ NtUserUpdateLayeredWindow(DWORD Unknown0,
return 0; return 0;
} }
/*
* @unimplemented
*/
DWORD STDCALL DWORD STDCALL
NtUserWindowFromPoint(DWORD Unknown0, NtUserWindowFromPoint(DWORD Unknown0,
DWORD Unknown1) DWORD Unknown1)
@ -2188,12 +2348,20 @@ NtUserWindowFromPoint(DWORD Unknown0,
return 0; return 0;
} }
/*
* @implemented
*/
HWND STDCALL HWND STDCALL
NtUserGetDesktopWindow() NtUserGetDesktopWindow()
{ {
return IntGetDesktopWindow(); return IntGetDesktopWindow();
} }
/*
* @implemented
*/
HWND STDCALL HWND STDCALL
NtUserGetCapture(VOID) NtUserGetCapture(VOID)
{ {
@ -2209,6 +2377,10 @@ NtUserGetCapture(VOID)
} }
} }
/*
* @implemented
*/
HWND STDCALL HWND STDCALL
NtUserSetCapture(HWND Wnd) NtUserSetCapture(HWND Wnd)
{ {
@ -2252,6 +2424,9 @@ IntGetWindowThreadProcessId(PWINDOW_OBJECT Wnd, PDWORD pid)
} }
/*
* @implemented
*/
DWORD STDCALL DWORD STDCALL
NtUserGetWindowThreadProcessId(HWND hWnd, LPDWORD UnsafePid) NtUserGetWindowThreadProcessId(HWND hWnd, LPDWORD UnsafePid)
{ {
@ -2284,6 +2459,9 @@ NtUserGetWindowThreadProcessId(HWND hWnd, LPDWORD UnsafePid)
* We can figure out what kind of list by what parameters are * We can figure out what kind of list by what parameters are
* passed to us. * passed to us.
*/ */
/*
* @implemented
*/
ULONG ULONG
STDCALL STDCALL
NtUserBuildHwndList( NtUserBuildHwndList(
@ -2409,12 +2587,17 @@ NtUserBuildHwndList(
return dwCount; return dwCount;
} }
/*
* @implemented
*/
VOID STDCALL VOID STDCALL
NtUserValidateRect(HWND hWnd, const RECT* Rect) NtUserValidateRect(HWND hWnd, const RECT* Rect)
{ {
(VOID)NtUserRedrawWindow(hWnd, Rect, 0, RDW_VALIDATE | RDW_NOCHILDREN); (VOID)NtUserRedrawWindow(hWnd, Rect, 0, RDW_VALIDATE | RDW_NOCHILDREN);
} }
/* /*
* @unimplemented * @unimplemented
*/ */
@ -2432,6 +2615,9 @@ NtUserDrawMenuBarTemp(
} }
/*
* @implemented
*/
HWND STDCALL HWND STDCALL
NtUserGetWindow(HWND hWnd, UINT Relationship) NtUserGetWindow(HWND hWnd, UINT Relationship)
{ {
@ -2493,6 +2679,9 @@ NtUserGetWindow(HWND hWnd, UINT Relationship)
} }
/*
* @implemented
*/
HWND STDCALL HWND STDCALL
NtUserGetLastActivePopup(HWND hWnd) NtUserGetLastActivePopup(HWND hWnd)
{ {
@ -2580,6 +2769,9 @@ IntSetParent(PWINDOW_OBJECT Wnd, PWINDOW_OBJECT WndNewParent)
} }
/*
* @implemented
*/
HWND HWND
STDCALL STDCALL
NtUserSetParent(HWND hWndChild, HWND hWndNewParent) NtUserSetParent(HWND hWndChild, HWND hWndNewParent)