[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:
Timo Kreuzer 2017-12-29 10:46:19 +01:00
parent ee7f479c57
commit 173971d947
5 changed files with 111 additions and 45 deletions

View file

@ -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