#pragma once
+extern PUSER_MESSAGE_QUEUE gpqForeground;
+extern PUSER_MESSAGE_QUEUE gpqForegroundPrev;
+
/*
* These functions take the window handles from current message queue.
*/
*/
HWND FASTCALL IntGetThreadFocusWindow(VOID);
HWND APIENTRY IntGetCapture(VOID);
-HWND FASTCALL UserGetFocusWindow(VOID);
HWND FASTCALL UserGetActiveWindow(VOID);
BOOL FASTCALL co_IntMouseActivateWindow(PWND Window);
BOOL FASTCALL co_IntSetForegroundWindow(PWND Window);
-HWND FASTCALL co_IntSetActiveWindow(PWND Window);
+BOOL FASTCALL co_IntSetActiveWindow(PWND Window,HWND * Prev,BOOL bMouse,BOOL bFocus);
+BOOL FASTCALL IntLockSetForegroundWindow(UINT uLockCode);
+BOOL FASTCALL IntAllowSetForegroundWindow(DWORD dwProcessId);