Commit graph

38 commits

Author SHA1 Message Date
James Tabor
f123580aa0 - Add support for SMTO_NOTIMEOUTIFNOTHUNG.
- Fix WH_CALLWNDPROC/RET for multi thread.
- Fix foreground idle.

svn path=/trunk/; revision=34776
2008-07-25 12:31:59 +00:00
James Tabor
0104c42bb4 Fix typo.
svn path=/trunk/; revision=34767
2008-07-25 01:07:41 +00:00
James Tabor
c688d08ea3 - Add call window proc hooks.
svn path=/trunk/; revision=34766
2008-07-25 01:02:17 +00:00
James Tabor
8c9a96581a Add two more CallNextHook finctions.
svn path=/trunk/; revision=34759
2008-07-24 21:39:00 +00:00
James Tabor
e928cd52fd - Added more hook points. Setup WH_MOUSE with callbacks, seems to be preloaded. Started BroadcastSystemMessage.
- Tested with Opera 9.51, FF, Seamonkey, Abiword, Miranda and the rest of our applications.

svn path=/trunk/; revision=34736
2008-07-24 11:38:08 +00:00
James Tabor
2ca130fb8b - Fix NtUserCallMsgFilter to use SEH. Add support for system commands related to hooks.
svn path=/trunk/; revision=34696
2008-07-23 19:59:20 +00:00
James Tabor
0868fdb45d - Fixed CallNextHookEx, now we do make the callback. Q, how to reload it at the end of the list? Fix for bug 3549.
- Tested with Opera 9.51(still breaks when getting the page see bug 3465), FF, Seamonkey, Abiword, and the rest of our applications.

svn path=/trunk/; revision=34691
2008-07-22 23:46:31 +00:00
James Tabor
4f11e10d3d - Rewrite HOOKs, Implement CallNextHookEx and fix prototype for NtUserCallNextHookEx. Move hook structure to ntuser.h for user verifying.
- Tested with FF, Seamonkey, Abiword, and the rest of our applications.

svn path=/trunk/; revision=34653
2008-07-22 04:54:53 +00:00
James Tabor
7272eb9108 Move NUMC defines to FNIDs.
svn path=/trunk/; revision=34582
2008-07-19 03:49:48 +00:00
Aleksey Bragin
81c0fbc19f Yuriy Sidorov <jura@cp-lab.com>
- Fix BSOD in NtUserWaitForInputIdle because KeWaitForMultipleObjects expects actual pointers to objects, not handles.
- Fix failure branches to have UserLeave and/or object dereference where needed.
See issue #3522 for more details.

svn path=/trunk/; revision=34525
2008-07-15 14:00:37 +00:00
James Tabor
c66063fbaa Added WH_GETMESSAGE support.
svn path=/trunk/; revision=34498
2008-07-14 07:26:13 +00:00
James Tabor
97892224cf Separate Default Window proc from messages.
svn path=/trunk/; revision=34476
2008-07-13 23:31:00 +00:00
James Tabor
b17c0af25f The rest of rev 34442.
svn path=/trunk/; revision=34443
2008-07-13 00:24:05 +00:00
James Tabor
1fa1b4e184 - Cleanup NtUserWaitForInputIdle and plug in the user call. Still testing it.
svn path=/trunk/; revision=34424
2008-07-11 11:22:16 +00:00
James Tabor
4460003077 Improve NtUserWaitForInputIdle, still a work in progress.
svn path=/trunk/; revision=34419
2008-07-11 01:24:47 +00:00
James Tabor
0b35c794b5 - Port wine WaitForInputIdle. Work in progress and untested. Need input idle event to support it.
svn path=/trunk/; revision=34418
2008-07-11 01:02:28 +00:00
James Tabor
75ea87b3cb - Move NtUserWaitForInputIdle to message.c.
svn path=/trunk/; revision=34417
2008-07-10 23:51:24 +00:00
Christoph von Wittich
4409400b6b don't try to dereference NULL pointers
now Avira AntiVir installs without crashing the whole system

svn path=/trunk/; revision=34300
2008-07-05 09:19:56 +00:00
James Tabor
b242c12bdc - Remove old pump hook and use new client thread information. Tested with Qemu and installed and run more than twice FF 1.5.03.
svn path=/trunk/; revision=32890
2008-04-07 19:02:21 +00:00
James Tabor
8ab61dee39 Update NtUserMessageCall prototype. Used Wine message tests to track down types.
svn path=/trunk/; revision=32867
2008-04-05 05:44:45 +00:00
Timo Kreuzer
1e51a48800 Patch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com):
- remove NtUserEnumClipboardFormats, use ->ONEPARAM_ROUTINE_ENUMCLIPBOARDFORMAT insetad
- remove NtUserRegisterClipboardFormat, use NtUserRegisterWIndowsMessage instead
- remove NtUserKillSystemTimer, use HWNDPARAM_ROUTINE_KILLSYSTEMTIMER instead
- remove NtUserInsertMenuItem, use NtUserThunkedMenuItemInfo instead
- remove NtUserGetCapture, use THREADSTATE_CAPTUREWINDOW instead
- remove NtUserGetActiveWindow, use THREADSTATE_ACTIVEWINDOW instead
- remove NtUserGetQueueStatus, use ONEPARAM_ROUTIME_GETQUEUESTATUS instead
- remove NtUserGetLastActivePopup, wasn't implemented
- remove NtUserRealizePalette from ntuser.h, it's not implemented
- remove duplicate NtUserGetLastInputInfo from ntuser.h
- remove PrivateCsrssRergisterPrimitive from user32, it was unused and unimplemented
- remove NtUserDereferenceWndprocHandle, it was unused
- move WNDPROC_INFO structure from ntuser.h to win32k/include/class.h, as it's not used in usermode anymore
tested with AbiWord and FF on VMWare

svn path=/trunk/; revision=32825
2008-04-03 02:13:34 +00:00
Timo Kreuzer
070880c0a2 patch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com):
- remove NtUserAcquireOrReleaseInputOwnership and NtUserSendMessageCallback
- move ros specific types belonging to ros specific ntuser calls into ntuser.h near the respective prototypes
- add a commented out GDI_DEBUG define to gdiobj.c

svn path=/trunk/; revision=32726
2008-03-20 14:30:42 +00:00
Timo Kreuzer
a8c044b6cb Big ntuser fix:
- rename ObmXxx functions to UserXxx functions
- remove some macros
- move prototypes to object.h
- implement UserreferenceObjectByHandle creating a reference to the object, used for cursoricon stuff so far
- rewrite object manager functions to reasonably handle references
- dereference cursoricons correctly, so they will really get deleted -> fixes a cursoricon leak
- destroy submenus in NtUserDestroyMenu -> fixes a big menu leak
- free the buffer of the menu text -> fixes a mem leak
- delete old bitmaps in NtUserSetCursorContent -> fixes a bitmap leak
- delete monitor object on failure
Now taskmgr doesn't leak memory anymore. we still leak some user handles here and there even after terminating a process, but it's much better now.

svn path=/trunk/; revision=32336
2008-02-13 00:46:23 +00:00
Art Yerkes
74c80e3705 When doing NtAllocateVirtualMemory, you need to MEM_RELEASE if you intend to
free the memory, otherwise you'll get stray address space hanging around.  This
was noticeable as a leak if you just left the command prompt sitting, because
every DC allocated to blink the cursor kept address space that was never freed.

svn path=/trunk/; revision=30567
2007-11-18 23:59:48 +00:00
Thomas Bluemel
232b9edcf0 Optimize SendMessageA/W to allow certain messages be sent without calling win32k
svn path=/trunk/; revision=30514
2007-11-17 00:40:22 +00:00
Thomas Bluemel
a61d6e83df Optimize IsWindow() and IsWindowUnicode()
svn path=/trunk/; revision=30497
2007-11-16 09:03:51 +00:00
Thomas Bluemel
fdb8bd5a53 Optimize GetWindowText(Length)A/W and WM_GETTEXT(LENGTH)
svn path=/trunk/; revision=30490
2007-11-16 02:37:14 +00:00
Thomas Bluemel
23c877364c - Fix desktop heaps handling and various bugs
- Begin superseding the WINDOW_OBJECT structure by WINDOW which is located on the desktop heap
- Implement GetClientRect() and GetWindowRect() to read the information from the desktop heap

svn path=/trunk/; revision=30467
2007-11-15 19:42:41 +00:00
Daniel Reimer
ae7da04787 Delete all Trailing spaces in code.
svn path=/trunk/; revision=29690
2007-10-19 23:21:45 +00:00
Thomas Bluemel
f00ee22138 Correctly calculate message time. Fixes slow clicks being interpreted as double clicks.
See issue #2238 for more details.

svn path=/trunk/; revision=27952
2007-07-28 17:16:51 +00:00
Hervé Poussineau
67c8317973 Commit a patch I have in my tree since 1 year. This may be related to bug 2238.
svn path=/trunk/; revision=26987
2007-06-04 09:02:12 +00:00
James Tabor
219faa9936 Remove hack for TS messages.
svn path=/trunk/; revision=23558
2006-08-12 15:55:03 +00:00
James Tabor
8d995ea23d Implement SendNotifyMessage. Needs more testing.
svn path=/trunk/; revision=23557
2006-08-12 15:50:45 +00:00
Alex Ionescu
502215cb1c - Simplify PsGetNextProcess so it works like PsGetNextProcessThread.
- Reformat and annotate parts of process.c
- Remove PsGetWin32Process, PsGetWin32Thread and implement/export the real functions PsGetCurrentProcessWin32Process, PsGetCurrentThreadWin32Thread, change win32k to use them.
- Initailize and use process rundown.
- Set corrent GrantedAccess.
- Remove an extra incorrect reference we were adding to processes.
- Implement PsIsProcessBeingDebugged.
- Make the same changes to NtOpenProcess that we did previously to NtOpenThread.

svn path=/trunk/; revision=23192
2006-07-20 14:53:47 +00:00
Aleksey Bragin
fd9ff56f6d - Bug 1451: Patch by Thomas Weidenmueller:
System controls, such as comboboxes and listboxes are always unicode, even when
created with CreateWindowExA. Therefore, ansi messages need to be converted to
unicode and vice versa when sent to these windows. This patch fixes some(!) of these issues! Not all control messages are handled!

svn path=/trunk/; revision=21780
2006-05-03 10:35:11 +00:00
Magnus Olsen
f7f19a1a69 Bug 1391 : Commit w3seek patch for Some Ansi vs. Unicode fixes for window classes
svn path=/trunk/; revision=21593
2006-04-14 18:23:11 +00:00
Peter Ward
ea5261fe10 Applied patch by: Thomas Weidenmueller
- win32k window class rewrite.
- http://www.reactos.org/bugzilla/show_bug.cgi?id=1366

svn path=/trunk/; revision=21460
2006-04-05 08:05:55 +00:00
Maarten Bosma
e1f7c6d561 Moved win32k
svn path=/trunk/; revision=21063
2006-02-17 12:22:36 +00:00
Renamed from reactos/subsys/win32k/ntuser/message.c (Browse further)