patch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com):

remove obsolete syscalls NtUserGetDesktopWindow and NtUserGetParent

svn path=/trunk/; revision=32203
This commit is contained in:
Timo Kreuzer 2008-02-08 01:45:54 +00:00
parent dfb1765988
commit 5aeda067d0
3 changed files with 8 additions and 84 deletions

View file

@ -476,9 +476,6 @@ NtUserGetProp(HWND hWnd, ATOM Atom);
BOOL NTAPI
NtUserGetClientOrigin(HWND hWnd, LPPOINT Point);
HWND NTAPI
NtUserGetDesktopWindow();
NTSTATUS
NTAPI
NtUserAcquireOrReleaseInputOwnership(
@ -2544,9 +2541,6 @@ NtUserGetWindowThreadProcessId(HWND hWnd, LPDWORD UnsafePid);
DWORD NTAPI
NtUserGetQueueStatus(BOOL ClearChanges);
HWND NTAPI
NtUserGetParent(HWND hWnd);
HWND NTAPI
NtUserGetWindow(HWND hWnd, UINT Relationship);

View file

@ -2962,26 +2962,6 @@ CLEANUP:
}
/*
* @implemented
*/
HWND STDCALL
NtUserGetDesktopWindow()
{
DECLARE_RETURN(HWND);
DPRINT("Enter NtUserGetDesktopWindow\n");
UserEnterShared();
RETURN( IntGetDesktopWindow());
CLEANUP:
DPRINT("Leave NtUserGetDesktopWindow, ret=%i\n",_ret_);
UserLeave();
END_CLEANUP;
}
/*
* @unimplemented
*/
@ -3051,52 +3031,6 @@ CLEANUP:
}
/*
* NtUserGetParent
*
* The NtUserGetParent function retrieves a handle to the specified window's
* parent or owner.
*
* Remarks
* Note that, despite its name, this function can return an owner window
* instead of a parent window.
*
* Status
* @implemented
*/
HWND STDCALL
NtUserGetParent(HWND hWnd)
{
PWINDOW_OBJECT Wnd, WndParent;
HWND hWndParent = NULL;
DECLARE_RETURN(HWND);
DPRINT("Enter NtUserGetParent\n");
UserEnterExclusive();
if (!(Wnd = UserGetWindowObject(hWnd)))
{
RETURN( NULL);
}
WndParent = IntGetParent(Wnd);
if (WndParent)
{
hWndParent = WndParent->hSelf;
}
RETURN( hWndParent);
CLEANUP:
DPRINT("Leave NtUserGetParent, ret=%i\n",_ret_);
UserLeave();
END_CLEANUP;
}
HWND FASTCALL
co_UserSetParent(HWND hWndChild, HWND hWndNewParent)
{

View file

@ -680,8 +680,10 @@ NtGdiSetViewportOrgEx 4
NtGdiSetWindowExtEx 4
NtGdiSetWindowOrgEx 4
NtGdiStretchDIBits 13
NtUserAcquireOrReleaseInputOwnership 1
NtUserBuildMenuItemList 4
NtUserCreateCursorIconHandle 2
NtUserDereferenceWndProcHandle 2
NtUserEnumClipboardFormats 1
NtUserGetActiveWindow 0
NtUserGetCapture 0
@ -689,16 +691,22 @@ NtUserGetClassLong 3
NtUserGetClientOrigin 2
NtUserGetClientRect 2
NtUserGetMenuDefaultItem 3
NtUserGetLastActivePopup 1
NtUserGetLastInputInfo 1
NtUserGetMinMaxInfo 3
NtUserGetMonitorInfo 2
NtUserGetProp 2
NtUserGetQueueStatus 1
NtUserGetScrollInfo 3
NtUserGetShellWindow 0
NtUserGetSystemMetrics 1
NtUserGetWindow 2
NtUserGetWindowLong 3
NtUserGetWindowRect 2
NtUserGetWindowThreadProcessId 2
NtUserInsertMenuItem 4
NtUserKillSystemTimer 2
NtUserManualGuiCheck 1
NtUserMenuInfo 3
NtUserMenuItemInfo 5
NtUserMonitorFromPoint 3
@ -711,21 +719,9 @@ NtUserSendMessageCallback 6
NtUserSendMessageTimeout 8
NtUserSendNotifyMessage 4
NtUserSetScrollBarInfo 3
NtUserGetDesktopWindow 0
NtGdiAddFontResource 2
NtGdiCreateDIBitmap 6
NtGdiGetAspectRatioFilterEx 2
NtGdiGetFontFamilyInfo 4
NtGdiOffsetViewportOrgEx 4
NtGdiOffsetWindowOrgEx 4
#
# ReactOS only system calls
NtUserAcquireOrReleaseInputOwnership 1
NtUserGetWindowThreadProcessId 2
NtUserGetQueueStatus 1
NtUserGetParent 1
NtUserGetWindow 2
NtUserGetLastActivePopup 1
NtUserGetShellWindow 0
NtUserDereferenceWndProcHandle 2
NtUserManualGuiCheck 1