https://git.reactos.org/?p=reactos.git;a=commitdiff;h=977c129f331cd5b92e0c7…
commit 977c129f331cd5b92e0c7a4925e85fc14e147ec9
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Tue Feb 22 23:14:07 2022 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Wed Feb 23 20:32:02 2022 +0100
[USER32] SetScrollPos should not bypass UserApiHook
CORE-18048
---
win32ss/user/user32/controls/scrollbar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/win32ss/user/user32/controls/scrollbar.c
b/win32ss/user/user32/controls/scrollbar.c
index 8e5983e5d7b..ddbd51bde4a 100644
--- a/win32ss/user/user32/controls/scrollbar.c
+++ b/win32ss/user/user32/controls/scrollbar.c
@@ -1723,7 +1723,7 @@ SetScrollPos(HWND hWnd, INT nBar, INT nPos, BOOL bRedraw)
ScrollInfo.fMask = SIF_POS|SIF_PREVIOUSPOS;
ScrollInfo.nPos = nPos;
- return RealSetScrollInfo(hWnd, nBar, &ScrollInfo, bRedraw);
+ return SetScrollInfo(hWnd, nBar, &ScrollInfo, bRedraw);
}
/*