hook SetForegroundWindow for profile links
This commit is contained in:
parent
f86ad29835
commit
766e4b434c
4 changed files with 16 additions and 1 deletions
|
@ -558,6 +558,16 @@ HWND WINAPI fake_GetForegroundWindow()
|
|||
return real_GetForegroundWindow();
|
||||
}
|
||||
|
||||
BOOL WINAPI fake_SetForegroundWindow(HWND hWnd)
|
||||
{
|
||||
if (g_ddraw && g_ddraw->bnet_active)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return real_SetForegroundWindow(hWnd);
|
||||
}
|
||||
|
||||
HHOOK WINAPI fake_SetWindowsHookExA(int idHook, HOOKPROC lpfn, HINSTANCE hmod, DWORD dwThreadId)
|
||||
{
|
||||
if (idHook == WH_KEYBOARD_LL && hmod && GetModuleHandle("AcGenral") == hmod)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue