summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-12-07 07:23:41 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2002-12-07 07:23:41 +0000
commite57ba5d3cdcb8e9f5e7b1f4ef4cbfe9d99c97461 (patch)
tree1bc7eaae2bfc6a2b0884a6c545414bf1dbcb7891 /winsup/w32api/include
parent2cc2e4e5eab305415e4e34d60b7e05b720ec1745 (diff)
downloadcygnal-e57ba5d3cdcb8e9f5e7b1f4ef4cbfe9d99c97461.tar.gz
cygnal-e57ba5d3cdcb8e9f5e7b1f4ef4cbfe9d99c97461.tar.bz2
cygnal-e57ba5d3cdcb8e9f5e7b1f4ef4cbfe9d99c97461.zip
* include/winuser.h (AllowSetForegroundWindow,
LockSetForegroundWindow) Add prototypes. (ASFW_ANY, LSFW_LOCK, LSFW_UNLOCK) Add defines. Thanks to: Pat Thoyts <patthoyts@users.sourceforge.net> * lib/winuser.def (AllowSetForegroundWindow, LockSetForegroundWindow): Add stubs.
Diffstat (limited to 'winsup/w32api/include')
-rw-r--r--winsup/w32api/include/winuser.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/winsup/w32api/include/winuser.h b/winsup/w32api/include/winuser.h
index 7717efd30..397c2bc48 100644
--- a/winsup/w32api/include/winuser.h
+++ b/winsup/w32api/include/winuser.h
@@ -1935,6 +1935,11 @@ extern "C" {
#define OBJID_CURSOR 0xFFFFFFF7
#define OBJID_ALERT 0xFFFFFFF6
#define OBJID_SOUND 0xFFFFFFF5
+#if(WINVER >= 0x0500)
+#define ASFW_ANY ((DWORD)-1)
+#define LSFW_LOCK 1
+#define LSFW_UNLOCK 2
+#endif
#ifndef RC_INVOKED
typedef BOOL(CALLBACK *DLGPROC)(HWND,UINT,WPARAM,LPARAM);
@@ -3271,6 +3276,10 @@ int WINAPIV wsprintfA(LPSTR,LPCSTR,...);
int WINAPIV wsprintfW(LPWSTR,LPCWSTR,...);
int WINAPI wvsprintfA(LPSTR,LPCSTR,va_list arglist);
int WINAPI wvsprintfW(LPWSTR,LPCWSTR,va_list arglist);
+#if(WINVER >= 0x0500)
+BOOL WINAPI AllowSetForegroundWindow(DWORD);
+BOOL WINAPI LockSetForegroundWindow(UINT);
+#endif
#ifdef UNICODE
#define EDITWORDBREAKPROC EDITWORDBREAKPROCW