mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 17:56:06 +00:00
[WIN32K] Implement NtUserSetWindowLongPtr for 64 bit builds
Also fix return type of NtUserQueryWindow and type of WND::dwUserData and the value for bAnsi in SetWindowLongPtrA
This commit is contained in:
parent
ee7f479c57
commit
173971d947
5 changed files with 111 additions and 45 deletions
|
@ -1841,7 +1841,7 @@ SetWindowLongPtrA(HWND hWnd,
|
|||
INT nIndex,
|
||||
LONG_PTR dwNewLong)
|
||||
{
|
||||
return NtUserSetWindowLong(hWnd, nIndex, dwNewLong, FALSE);
|
||||
return NtUserSetWindowLongPtr(hWnd, nIndex, dwNewLong, TRUE);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -1853,7 +1853,7 @@ SetWindowLongPtrW(HWND hWnd,
|
|||
INT nIndex,
|
||||
LONG_PTR dwNewLong)
|
||||
{
|
||||
return NtUserSetWindowLong(hWnd, nIndex, dwNewLong, FALSE);
|
||||
return NtUserSetWindowLongPtr(hWnd, nIndex, dwNewLong, FALSE);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue