]> sourceware.org Git - newlib-cygwin.git/commitdiff
* include/winuser.h (AllowSetForegroundWindow,
authorDanny Smith <dannysmith@users.sourceforge.net>
Sat, 7 Dec 2002 07:23:41 +0000 (07:23 +0000)
committerDanny Smith <dannysmith@users.sourceforge.net>
Sat, 7 Dec 2002 07:23:41 +0000 (07:23 +0000)
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.

winsup/w32api/ChangeLog
winsup/w32api/include/winuser.h
winsup/w32api/lib/user32.def

index 2985a1ee9166155ea8d893ed375918fa8a9f9426..e5a51c7eb6e25d2a421232154d2c543edceb3aed 100644 (file)
@@ -1,3 +1,12 @@
+2002-12-07  Danny Smith  <dannysmith@users.sourveforge.net>
+       
+       * 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. 
+
 2002-12-06  Ken Fitlike  <kenfitlike@users.sourceforge.net>
 
        * include/commctrl.h (TN_GETDISPINFO[AW]): Add defines and
index 7717efd303b6c3f3cd675621c3c92943cb674a4c..397c2bc48a686405b2821268ce9484fa5ce5d59e 100644 (file)
@@ -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
index 465a912d5eafa6493cc741bb1a63fc1e5d27c990..ddd047d9637645847843cb9e56897e8946866e33 100644 (file)
@@ -3,6 +3,7 @@ EXPORTS
 ActivateKeyboardLayout@8
 AdjustWindowRect@12
 AdjustWindowRectEx@16
+AllowSetForegroundWindow@4
 AnyPopup@0
 AppendMenuA@16
 AppendMenuW@16
@@ -384,6 +385,7 @@ LoadMenuIndirectW@4
 LoadMenuW@8
 LoadStringA@16
 LoadStringW@16
+LockSetForegroundWindow@4
 LockWindowUpdate@4
 LookupIconIdFromDirectory@8
 LookupIconIdFromDirectoryEx@20
This page took 0.035808 seconds and 5 git commands to generate.