mirror of
https://github.com/reactos/reactos.git
synced 2025-05-25 12:14:32 +00:00
[NTUSER] Add 'Win:' comments to some functions (#4453)
This commit is contained in:
parent
6ff0232368
commit
567b0700fe
9 changed files with 18 additions and 1 deletions
|
@ -21,6 +21,7 @@ EngGetLastError(VOID)
|
|||
/*
|
||||
* @implemented
|
||||
* http://msdn.microsoft.com/en-us/library/ff565015%28VS.85%29.aspx
|
||||
* Win: UserSetLastError
|
||||
*/
|
||||
VOID
|
||||
APIENTRY
|
||||
|
|
|
@ -1344,6 +1344,7 @@ PWND FASTCALL co_GetDesktopWindow(PWND pWnd)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
// Win: _GetDesktopWindow
|
||||
HWND FASTCALL IntGetDesktopWindow(VOID)
|
||||
{
|
||||
PDESKTOP pdo = IntGetActiveDesktop();
|
||||
|
@ -1368,6 +1369,7 @@ PWND FASTCALL UserGetDesktopWindow(VOID)
|
|||
return UserGetWindowObject(pdo->DesktopWindow);
|
||||
}
|
||||
|
||||
// Win: _GetMessageWindow
|
||||
HWND FASTCALL IntGetMessageWindow(VOID)
|
||||
{
|
||||
PDESKTOP pdo = IntGetActiveDesktop();
|
||||
|
|
|
@ -475,6 +475,7 @@ IsRemoveAttachThread(PTHREADINFO pti)
|
|||
return Ret;
|
||||
}
|
||||
|
||||
// Win: zzzAttachThreadInput
|
||||
NTSTATUS FASTCALL
|
||||
UserAttachThreadInput(PTHREADINFO ptiFrom, PTHREADINFO ptiTo, BOOL fAttach)
|
||||
{
|
||||
|
|
|
@ -35,6 +35,7 @@ _scwprintf(
|
|||
|
||||
/*
|
||||
* Test the Thread to verify and validate it. Hard to the core tests are required.
|
||||
* Win: PtiFromThreadId
|
||||
*/
|
||||
PTHREADINFO
|
||||
FASTCALL
|
||||
|
|
|
@ -238,12 +238,14 @@ VOID FASTCALL CleanupUserImpl(VOID)
|
|||
ExDeleteResourceLite(&UserLock);
|
||||
}
|
||||
|
||||
// Win: EnterSharedCrit
|
||||
VOID FASTCALL UserEnterShared(VOID)
|
||||
{
|
||||
KeEnterCriticalRegion();
|
||||
ExAcquireResourceSharedLite(&UserLock, TRUE);
|
||||
}
|
||||
|
||||
// Win: EnterCrit
|
||||
VOID FASTCALL UserEnterExclusive(VOID)
|
||||
{
|
||||
ASSERT_NOGDILOCKS();
|
||||
|
@ -252,6 +254,7 @@ VOID FASTCALL UserEnterExclusive(VOID)
|
|||
gptiCurrent = PsGetCurrentThreadWin32Thread();
|
||||
}
|
||||
|
||||
// Win: LeaveCrit
|
||||
VOID FASTCALL UserLeave(VOID)
|
||||
{
|
||||
ASSERT_NOGDILOCKS();
|
||||
|
|
|
@ -1430,6 +1430,7 @@ IntFlashWindowEx(PWND pWnd, PFLASHWINFO pfwi)
|
|||
return Ret;
|
||||
}
|
||||
|
||||
// Win: xxxBeginPaint
|
||||
HDC FASTCALL
|
||||
IntBeginPaint(PWND Window, PPAINTSTRUCT Ps)
|
||||
{
|
||||
|
@ -1526,6 +1527,7 @@ IntBeginPaint(PWND Window, PPAINTSTRUCT Ps)
|
|||
return Ps->hdc;
|
||||
}
|
||||
|
||||
// Win: xxxEndPaint
|
||||
BOOL FASTCALL
|
||||
IntEndPaint(PWND Wnd, PPAINTSTRUCT Ps)
|
||||
{
|
||||
|
@ -1548,6 +1550,7 @@ IntEndPaint(PWND Wnd, PPAINTSTRUCT Ps)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
// Win: xxxFillWindow
|
||||
BOOL FASTCALL
|
||||
IntFillWindow(PWND pWndParent,
|
||||
PWND pWnd,
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
// Win: ValidateHmenu
|
||||
FORCEINLINE PMENU UserGetMenuObject(HMENU hMenu)
|
||||
{
|
||||
PMENU pMenu = UserGetObject(gHandleTable, hMenu, TYPE_MENU);
|
||||
|
|
|
@ -121,6 +121,7 @@ PWND FASTCALL ValidateHwndNoErr(HWND hWnd)
|
|||
}
|
||||
|
||||
/* Temp HACK */
|
||||
// Win: ValidateHwnd
|
||||
PWND FASTCALL UserGetWindowObject(HWND hWnd)
|
||||
{
|
||||
PWND Window;
|
||||
|
@ -1263,6 +1264,7 @@ co_IntSetParent(PWND Wnd, PWND WndNewParent)
|
|||
return WndOldParent;
|
||||
}
|
||||
|
||||
// Win: xxxSetParent
|
||||
HWND FASTCALL
|
||||
co_UserSetParent(HWND hWndChild, HWND hWndNewParent)
|
||||
{
|
||||
|
@ -2128,6 +2130,7 @@ Error:
|
|||
|
||||
/*
|
||||
* @implemented
|
||||
* Win: xxxCreateWindowEx
|
||||
*/
|
||||
PWND FASTCALL
|
||||
co_UserCreateWindowEx(CREATESTRUCTW* Cs,
|
||||
|
@ -2742,7 +2745,7 @@ cleanup:
|
|||
return hwnd;
|
||||
}
|
||||
|
||||
|
||||
// Win: xxxDestroyWindow
|
||||
BOOLEAN co_UserDestroyWindow(PVOID Object)
|
||||
{
|
||||
HWND hWnd;
|
||||
|
|
|
@ -551,6 +551,7 @@ WinPosInitInternalPos(PWND Wnd, RECTL *RestoreRect)
|
|||
}
|
||||
}
|
||||
|
||||
// Win: _GetWindowPlacement
|
||||
BOOL
|
||||
FASTCALL
|
||||
IntGetWindowPlacement(PWND Wnd, WINDOWPLACEMENT *lpwndpl)
|
||||
|
@ -2484,6 +2485,7 @@ co_WinPosMinMaximize(PWND Wnd, UINT ShowFlag, RECT* NewPos)
|
|||
|
||||
/*
|
||||
ShowWindow does not set SWP_FRAMECHANGED!!! Fix wine msg test_SetParent:WmSetParentSeq_2:23 wParam bits!
|
||||
Win: xxxShowWindow
|
||||
*/
|
||||
BOOLEAN FASTCALL
|
||||
co_WinPosShowWindow(PWND Wnd, INT Cmd)
|
||||
|
|
Loading…
Reference in a new issue