mirror of
https://github.com/reactos/reactos.git
synced 2025-04-04 20:50:41 +00:00
[USER32] ForceResetUserApiHook is WINAPI, not FASTCALL. CORE-14450
Fixes stack pointer corruption when using Windows's uxtheme.dll.
This commit is contained in:
parent
af9960ca99
commit
c7c36702d2
2 changed files with 2 additions and 2 deletions
|
@ -229,7 +229,7 @@ typedef BOOL (WINAPI *ADJUSTWINDOWRECTEX)(LPRECT,DWORD,BOOL,DWORD);
|
|||
typedef int (WINAPI *GETSYSTEMMETRICS)(int);
|
||||
typedef BOOL (WINAPI *SYSTEMPARAMETERSINFOA)(UINT,UINT,PVOID,UINT);
|
||||
typedef BOOL (WINAPI *SYSTEMPARAMETERSINFOW)(UINT,UINT,PVOID,UINT);
|
||||
typedef BOOL (__fastcall *FORCERESETUSERAPIHOOK)(HINSTANCE);
|
||||
typedef BOOL (WINAPI *FORCERESETUSERAPIHOOK)(HINSTANCE);
|
||||
typedef BOOL (WINAPI *DRAWFRAMECONTROL)(HDC,LPRECT,UINT,UINT);
|
||||
typedef BOOL (WINAPI *DRAWCAPTION)(HWND,HDC,LPCRECT,UINT);
|
||||
typedef BOOL (WINAPI *MDIREDRAWFRAME)(HWND,DWORD);
|
||||
|
|
|
@ -113,7 +113,7 @@ BeginIfHookedUserApiHook(VOID)
|
|||
}
|
||||
|
||||
BOOL
|
||||
FASTCALL
|
||||
WINAPI
|
||||
ForceResetUserApiHook(HINSTANCE hInstance)
|
||||
{
|
||||
if ( ghmodUserApiHook == hInstance &&
|
||||
|
|
Loading…
Reference in a new issue