[CSRSRV]
[reactos.git] / win32ss / user / ntuser / focus.h
1 #pragma once
2
3 extern PUSER_MESSAGE_QUEUE gpqForeground;
4 extern PUSER_MESSAGE_QUEUE gpqForegroundPrev;
5
6 /*
7 * These functions take the window handles from current message queue.
8 */
9 HWND FASTCALL IntGetCaptureWindow(VOID);
10 HWND FASTCALL co_UserSetCapture(HWND hWnd);
11 BOOL FASTCALL IntReleaseCapture(VOID);
12
13 /*
14 * These functions take the window handles from current thread queue.
15 */
16 HWND FASTCALL IntGetThreadFocusWindow(VOID);
17 HWND APIENTRY IntGetCapture(VOID);
18 HWND FASTCALL UserGetActiveWindow(VOID);
19 BOOL FASTCALL co_IntMouseActivateWindow(PWND Window);
20 BOOL FASTCALL co_IntSetForegroundWindow(PWND Window);
21 BOOL FASTCALL co_IntSetActiveWindow(PWND,HWND *,BOOL,BOOL,BOOL);
22 BOOL FASTCALL IntLockSetForegroundWindow(UINT uLockCode);
23 BOOL FASTCALL IntAllowSetForegroundWindow(DWORD dwProcessId);