This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
Log of /sourceforge.net/trunk/seamlessrdp/ServerExe/HookDll/hookdll.c
Parent Directory
| Revision Log
Revision
1185 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 22 11:52:07 2006 UTC
(18 years, 2 months ago)
by
ossman_
File length: 13234 byte(s)
Diff to
previous 1179
SetActiveWindow() only does what we want when the window is owned by the
same process as the currently active. SetForegroundWindow() does what we want
under all circumstances.
Revision
1179 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Mar 21 14:58:29 2006 UTC
(18 years, 2 months ago)
by
ossman_
File length: 13222 byte(s)
Diff to
previous 1177
Also check window owner since it fall into our definition of "parent".
Revision
1167 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Mar 20 14:35:02 2006 UTC
(18 years, 2 months ago)
by
ossman_
File length: 12549 byte(s)
Diff to
previous 1165
Restructure ACK:s of POSITION a bit since Windows can ignore some requests.
Revision
1162 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Mar 20 09:36:23 2006 UTC
(18 years, 2 months ago)
by
ossman_
File length: 11097 byte(s)
Diff to
previous 1161
Handle z order changes properly by waiting until the reordering is complete
and then examining the result.
Revision
1161 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 17 16:34:46 2006 UTC
(18 years, 2 months ago)
by
ossman_
File length: 10746 byte(s)
Diff to
previous 1160
Also store hwnd when doing blocking to make things a bit more fool proof.
Revision
1158 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 17 13:11:20 2006 UTC
(18 years, 2 months ago)
by
ossman_
File length: 9754 byte(s)
Diff to
previous 1153
Encapsulate ZCHANGE and FOCUS requests into safe wrappers to avoid loops.
Setting focus also needed a hack because it killed off menus.
Revision
1153 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 17 09:55:35 2006 UTC
(18 years, 2 months ago)
by
ossman_
File length: 8370 byte(s)
Diff to
previous 1145
Handle FOCUS. We need to do this via an extra message because a process is
only allowed to focus its own windows.
Revision
1145 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 16 13:24:18 2006 UTC
(18 years, 2 months ago)
by
ossman_
File length: 8176 byte(s)
Diff to
previous 1134
Prevent moves we do ourself from generating a POSITION. We do this by storing
the coordinate we're moving to in a shared variable. Since SetWindowPos is
synchronous, we know that the variable will have valid data when the hook
is called.
Revision
1134 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 15 13:19:54 2006 UTC
(18 years, 3 months ago)
by
ossman_
File length: 7257 byte(s)
Diff to
previous 1131
Get window titles in unicode and send them over the channel in UTF-8. This
also meant that we had to catch WM_SETTEXT after it was handled (so that we
can use GetWindowTextW()).
Revision
1131 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 15 12:15:23 2006 UTC
(18 years, 3 months ago)
by
ossman_
File length: 6173 byte(s)
Diff to
previous 1128
Change window creation so that POSITION is sent before STATE (as required by
the protocol). Also remove unnecessary z order comment.
Revision
1113 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 10 16:40:57 2006 UTC
(18 years, 3 months ago)
by
ossman_
File length: 6179 byte(s)
Diff to
previous 1109
Add filtering of dangerous characters in strings that are part of the
protocol.
Revision
1109 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 10 15:12:28 2006 UTC
(18 years, 3 months ago)
by
ossman_
File length: 6145 byte(s)
Diff to
previous 1108
Windows can have popups without a parent. Indicate this by setting the parent
to -1.
Revision
1102 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 10 13:25:25 2006 UTC
(18 years, 3 months ago)
by
ossman_
File length: 5893 byte(s)
Diff to
previous 1100
Catch WM_SETTEXT so that we follow changes to the window title.
Revision
1100 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 10 12:56:37 2006 UTC
(18 years, 3 months ago)
by
ossman_
File length: 5703 byte(s)
Diff to
previous 1099
show can have values we're not interested in, so we need to abort here.
Revision
1099 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 10 12:54:37 2006 UTC
(18 years, 3 months ago)
by
ossman_
File length: 5682 byte(s)
Diff to
previous 1097
Make sure we send a TITLE and STATE when a window is created.
Revision
1082 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 9 16:27:59 2006 UTC
(18 years, 3 months ago)
by
ossman_
File length: 5484 byte(s)
Diff to
previous 1081
Microsoft's docs say that WS_CHILD and WS_POPUP is an illegal combination,
but they exist nonetheless. The resulting window is as if WS_CHILD wasn't
set.
Revision
1080 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 9 15:57:10 2006 UTC
(18 years, 3 months ago)
by
ossman_
File length: 5513 byte(s)
Diff to
previous 1079
Remove handling of WM_WINDOWPOSCHANGING and move that into WM_WINDOWPOSCHANGED
since the former isn't always sent.
Revision
1073 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 9 12:26:31 2006 UTC
(18 years, 3 months ago)
by
ossman_
File length: 5860 byte(s)
Diff to
previous 1071
Put virtual channel handling into a separate file since both the DLL and
the main program will use it.
Revision
1069 -
(
view)
(
annotate)
-
[select for diffs]
Added
Thu Mar 9 09:46:30 2006 UTC
(18 years, 3 months ago)
by
ossman_
File length: 11154 byte(s)
Use C instead of C++ since we don't depend on any C++ features anyway.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.