diff --git a/reactos/win32ss/user/ntuser/prop.h b/reactos/win32ss/user/ntuser/prop.h index 76087f7b866..bd100405bef 100644 --- a/reactos/win32ss/user/ntuser/prop.h +++ b/reactos/win32ss/user/ntuser/prop.h @@ -1,11 +1,5 @@ #pragma once -PPROPERTY -FASTCALL -IntGetProp( - _In_ PWND Window, - _In_ ATOM Atom); - HANDLE FASTCALL UserGetProp( diff --git a/reactos/win32ss/user/ntuser/simplecall.c b/reactos/win32ss/user/ntuser/simplecall.c index a447c4b2fa3..7d7d8f6dc65 100644 --- a/reactos/win32ss/user/ntuser/simplecall.c +++ b/reactos/win32ss/user/ntuser/simplecall.c @@ -600,7 +600,7 @@ NtUserCallHwnd( case HWND_ROUTINE_GETWNDCONTEXTHLPID: { PWND Window; - PPROPERTY HelpId; + DWORD HelpId; USER_REFERENCE_ENTRY Ref; UserEnterExclusive(); @@ -612,11 +612,11 @@ NtUserCallHwnd( } UserRefObjectCo(Window, &Ref); - HelpId = IntGetProp(Window, gpsi->atomContextHelpIdProp); + HelpId = (DWORD)(DWORD_PTR)UserGetProp(Window, gpsi->atomContextHelpIdProp); UserDerefObjectCo(Window); UserLeave(); - return (DWORD)HelpId->Data; + return HelpId; } case HWND_ROUTINE_REGISTERSHELLHOOKWINDOW: if (IntIsWindow(hWnd)) diff --git a/reactos/win32ss/user/ntuser/windc.c b/reactos/win32ss/user/ntuser/windc.c index cc3d775d86b..521a312b472 100644 --- a/reactos/win32ss/user/ntuser/windc.c +++ b/reactos/win32ss/user/ntuser/windc.c @@ -962,15 +962,12 @@ UserGethWnd( HDC hdc, PWNDOBJ *pwndo) XCLIPOBJ* Clip; PWND Wnd; HWND hWnd; - PPROPERTY pprop; hWnd = IntWindowFromDC(hdc); if (hWnd && (Wnd = UserGetWindowObject(hWnd))) { - pprop = IntGetProp(Wnd, AtomWndObj); - - Clip = (XCLIPOBJ*)pprop->Data; + Clip = (XCLIPOBJ*)UserGetProp(Wnd, AtomWndObj); if ( Clip && Clip->Hwnd == hWnd ) { diff --git a/reactos/win32ss/user/ntuser/window.c b/reactos/win32ss/user/ntuser/window.c index d04475f682f..8857b7c9467 100644 --- a/reactos/win32ss/user/ntuser/window.c +++ b/reactos/win32ss/user/ntuser/window.c @@ -369,16 +369,16 @@ IntGetWindow(HWND hWnd, DWORD FASTCALL IntGetWindowContextHelpId( PWND pWnd ) { - PPROPERTY HelpId; + DWORD HelpId; do { - HelpId = IntGetProp(pWnd, gpsi->atomContextHelpIdProp); + HelpId = (DWORD)(DWORD_PTR)UserGetProp(pWnd, gpsi->atomContextHelpIdProp); if (!HelpId) break; pWnd = IntGetParent(pWnd); } while (pWnd && pWnd->fnid != FNID_DESKTOP); - return (DWORD) (HelpId ? HelpId->Data : 0 ); + return HelpId; } /***********************************************************************