2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2003-11-30 20:29:09 +00:00
|
|
|
|
2012-04-23 18:51:48 +00:00
|
|
|
extern PUSER_MESSAGE_QUEUE gpqForeground;
|
|
|
|
extern PUSER_MESSAGE_QUEUE gpqForegroundPrev;
|
2013-10-20 05:16:52 +00:00
|
|
|
extern PTHREADINFO ptiLastInput;
|
2012-04-23 18:51:48 +00:00
|
|
|
|
2003-11-30 20:29:09 +00:00
|
|
|
/*
|
|
|
|
* These functions take the window handles from current message queue.
|
|
|
|
*/
|
2011-08-27 12:38:23 +00:00
|
|
|
HWND FASTCALL IntGetCaptureWindow(VOID);
|
|
|
|
HWND FASTCALL co_UserSetCapture(HWND hWnd);
|
|
|
|
BOOL FASTCALL IntReleaseCapture(VOID);
|
2003-11-30 20:29:09 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* These functions take the window handles from current thread queue.
|
|
|
|
*/
|
2011-08-27 12:38:23 +00:00
|
|
|
HWND FASTCALL IntGetThreadFocusWindow(VOID);
|
2009-08-24 20:09:58 +00:00
|
|
|
HWND APIENTRY IntGetCapture(VOID);
|
|
|
|
HWND FASTCALL UserGetActiveWindow(VOID);
|
2011-08-27 12:38:23 +00:00
|
|
|
BOOL FASTCALL co_IntMouseActivateWindow(PWND Window);
|
|
|
|
BOOL FASTCALL co_IntSetForegroundWindow(PWND Window);
|
2013-03-20 22:31:42 +00:00
|
|
|
BOOL FASTCALL co_IntSetForegroundWindowMouse(PWND Window);
|
2013-10-20 05:16:52 +00:00
|
|
|
BOOL FASTCALL co_IntSetActiveWindow(PWND,BOOL,BOOL,BOOL);
|
2016-10-01 18:48:02 +00:00
|
|
|
BOOL FASTCALL IntUserSetActiveWindow(PWND,BOOL,BOOL,BOOL);
|
2013-10-20 05:16:52 +00:00
|
|
|
BOOL FASTCALL UserSetActiveWindow(PWND Wnd);
|
2012-04-23 18:51:48 +00:00
|
|
|
BOOL FASTCALL IntLockSetForegroundWindow(UINT uLockCode);
|
|
|
|
BOOL FASTCALL IntAllowSetForegroundWindow(DWORD dwProcessId);
|
2016-10-01 18:48:02 +00:00
|
|
|
VOID FASTCALL IntActivateWindow(PWND,PTHREADINFO,HANDLE,DWORD);
|
|
|
|
BOOL FASTCALL IntDeactivateWindow(PTHREADINFO,HANDLE);
|
|
|
|
BOOL FASTCALL co_IntSetForegroundMessageQueue(PWND,PTHREADINFO,BOOL,DWORD );
|
|
|
|
VOID FASTCALL UpdateShellHook(PWND);
|