diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2010-08-30 10:39:43 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2010-08-30 10:39:43 +0000 |
commit | 92596190c4f48613d55ac7878c481d872f717d21 (patch) | |
tree | 2ae34a207f30df5c185020913a4aeea1789e99f2 /winsup/cygwin/autoload.cc | |
parent | 98edb049e44c1630efaf8635281af211ddad3684 (diff) | |
download | cygnal-92596190c4f48613d55ac7878c481d872f717d21.tar.gz cygnal-92596190c4f48613d55ac7878c481d872f717d21.tar.bz2 cygnal-92596190c4f48613d55ac7878c481d872f717d21.zip |
* autoload.cc (MsgWaitForMultipleObjectsEx): Define.
(MsgWaitForMultipleObjects): Remove.
* select.cc (select_stuff::wait): Use MsgWaitForMultipleObjectsEx with
QS_ALLPOSTMESSAGE and, if possible, MWMO_INPUTAVAILABLE flags. Explain
why. Fix a potential crash due to a NULL pointer in WAIT_FAILED case.
(peek_windows): Use filter pattern on NT4. Explain why.
* wincap.h (wincaps::has_mwmo_inputavailable): New element.
* wincap.cc: Implement above element throughout.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
-rw-r--r-- | winsup/cygwin/autoload.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index 30bbec702..07272af53 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -357,7 +357,7 @@ LoadDLLfunc (GetWindowThreadProcessId, 8, user32) LoadDLLfunc (GetUserObjectInformationW, 20, user32) LoadDLLfunc (MessageBeep, 4, user32) LoadDLLfunc (MessageBoxA, 16, user32) -LoadDLLfunc (MsgWaitForMultipleObjects, 20, user32) +LoadDLLfunc (MsgWaitForMultipleObjectsEx, 20, user32) LoadDLLfunc (OpenClipboard, 4, user32) LoadDLLfunc (PeekMessageA, 20, user32) LoadDLLfunc (PostMessageA, 16, user32) |