/[rdesktop]/sourceforge.net/trunk/seamlessrdp/ServerExe/HookDll/hookdll.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Log of /sourceforge.net/trunk/seamlessrdp/ServerExe/HookDll/hookdll.c

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 1489)

Revision 1412 - (view) (annotate) - [select for diffs]
Modified Mon Jun 18 11:59:38 2007 UTC (16 years, 11 months ago) by ossman_
File length: 17945 byte(s)
Diff to previous 1233
Add support for transferring window icons.


Revision 1233 - (view) (annotate) - [select for diffs]
Modified Fri Apr 28 07:56:57 2006 UTC (18 years ago) by ossman_
File length: 13494 byte(s)
Diff to previous 1230
Send a destroy group command when a process is killed off.


Revision 1230 - (view) (annotate) - [select for diffs]
Modified Thu Apr 20 12:56:18 2006 UTC (18 years, 1 month ago) by ossman_
File length: 13414 byte(s)
Diff to previous 1186
Don't send STATE for hidden windows.


Revision 1186 - (view) (annotate) - [select for diffs]
Modified Wed Mar 22 11:56:46 2006 UTC (18 years, 2 months ago) by ossman_
File length: 13294 byte(s)
Diff to previous 1185
Avoid %p since it's implementation defined.


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 1177 - (view) (annotate) - [select for diffs]
Modified Tue Mar 21 14:42:25 2006 UTC (18 years, 2 months ago) by ossman_
File length: 12784 byte(s)
Diff to previous 1167
Support for window groups and modal windows.


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 1165 - (view) (annotate) - [select for diffs]
Modified Mon Mar 20 12:28:03 2006 UTC (18 years, 2 months ago) by ossman_
File length: 12568 byte(s)
Diff to previous 1163
Send an ACK for all client commands.


Revision 1163 - (view) (annotate) - [select for diffs]
Modified Mon Mar 20 10:31:58 2006 UTC (18 years, 2 months ago) by ossman_
File length: 11124 byte(s)
Diff to previous 1162
Add serial numbers to protocol.


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 1160 - (view) (annotate) - [select for diffs]
Modified Fri Mar 17 16:23:08 2006 UTC (18 years, 2 months ago) by ossman_
File length: 10384 byte(s)
Diff to previous 1158
Break loops caused by STATE.


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, 2 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, 2 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 1128 - (view) (annotate) - [select for diffs]
Modified Wed Mar 15 12:05:20 2006 UTC (18 years, 2 months ago) by ossman_
File length: 6211 byte(s)
Diff to previous 1117
ran indent-all


Revision 1117 - (view) (annotate) - [select for diffs]
Modified Tue Mar 14 09:03:19 2006 UTC (18 years, 2 months ago) by astrand
File length: 6203 byte(s)
Diff to previous 1113
Need to catch SW_RESTORE as well.


Revision 1113 - (view) (annotate) - [select for diffs]
Modified Fri Mar 10 16:40:57 2006 UTC (18 years, 2 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, 2 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 1108 - (view) (annotate) - [select for diffs]
Modified Fri Mar 10 15:00:38 2006 UTC (18 years, 2 months ago) by ossman_
File length: 6100 byte(s)
Diff to previous 1106
Avoid sending position updates for minimized windows.


Revision 1106 - (view) (annotate) - [select for diffs]
Modified Fri Mar 10 13:47:41 2006 UTC (18 years, 2 months ago) by ossman_
File length: 6025 byte(s)
Diff to previous 1102
Add some more SW_ defines that we need to handle.


Revision 1102 - (view) (annotate) - [select for diffs]
Modified Fri Mar 10 13:25:25 2006 UTC (18 years, 2 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, 2 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, 2 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 1097 - (view) (annotate) - [select for diffs]
Modified Fri Mar 10 12:38:00 2006 UTC (18 years, 2 months ago) by ossman_
File length: 5359 byte(s)
Diff to previous 1096
Add the new parent argument to the CREATE command.


Revision 1096 - (view) (annotate) - [select for diffs]
Modified Fri Mar 10 12:27:38 2006 UTC (18 years, 2 months ago) by ossman_
File length: 5236 byte(s)
Diff to previous 1091
Move title info out of the STATE command.


Revision 1091 - (view) (annotate) - [select for diffs]
Modified Fri Mar 10 09:12:36 2006 UTC (18 years, 2 months ago) by astrand
File length: 5601 byte(s)
Diff to previous 1083
Removed the version numbers from SeamlessRDP commands


Revision 1083 - (view) (annotate) - [select for diffs]
Modified Thu Mar 9 16:28:57 2006 UTC (18 years, 2 months ago) by ossman_
File length: 5607 byte(s)
Diff to previous 1082
Avoid sending messages for windows that aren't visible.


Revision 1082 - (view) (annotate) - [select for diffs]
Modified Thu Mar 9 16:27:59 2006 UTC (18 years, 2 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 1081 - (view) (annotate) - [select for diffs]
Modified Thu Mar 9 16:13:26 2006 UTC (18 years, 2 months ago) by ossman_
File length: 5357 byte(s)
Diff to previous 1080
Catch WM_MOVE and WM_SIZE.


Revision 1080 - (view) (annotate) - [select for diffs]
Modified Thu Mar 9 15:57:10 2006 UTC (18 years, 2 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 1079 - (view) (annotate) - [select for diffs]
Modified Thu Mar 9 15:48:55 2006 UTC (18 years, 2 months ago) by ossman_
File length: 5615 byte(s)
Diff to previous 1073
More cleanup and reorganisation.


Revision 1073 - (view) (annotate) - [select for diffs]
Modified Thu Mar 9 12:26:31 2006 UTC (18 years, 2 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 1071 - (view) (annotate) - [select for diffs]
Modified Thu Mar 9 12:00:15 2006 UTC (18 years, 2 months ago) by ossman_
File length: 7180 byte(s)
Diff to previous 1069
Big cleanup and reindentation of the code.


Revision 1069 - (view) (annotate) - [select for diffs]
Added Thu Mar 9 09:46:30 2006 UTC (18 years, 2 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.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26