>intercepted very differently. One way to do what you are asking for would
>be to write your own video driver. My understanding is that Windows 2000
>allows for multiple video drivers to exist at once yet obtain the same
>screen information, however I might be wrong on that count. Regardless,
>this wouldn't work well for Windows 9x where you would need to have a
>pass-through video driver that was installed _instead_ of your existing one.
Another possibility (which may be partially being done by WinVNC -- I
haven't looked at those sources) is to rewrite WinVNC to hook into as much
of the graphics pipeline as possible. Some of the hooking can be done with
SetWindowsHookEx (which I suspect WinVNC is already using), which is
documented here:
http://msdn.microsoft.com/library/psdk/winbase/hooks_7vaw.htm
There is also a way to catch any call into any DLL, which would allow the
server to detect any call into GDI32.DLL, which would allow for Xvnc-like
performance for normal applications (won't help DirectX, but you could
always fall back to periodic polling for those applications). I have a
link to an article that was on the Microsoft site about using this to
intercept the compilation of VB6 application. The author hooked a system
DLL to determine when the back-end compiler/assembler was being spawned
with CreateProcess, delayed the actual call of that function, rewrote the
source files that were about to be assembled, and then let the call go
through. Doing so to GDI32 would be perfect. Unfortunately, Microsoft
appears to have pulled said article. I know that it was from some
periodical in 1999, but I can't seem to locate it. I will keep trying, but
if anyone already knows how to do so (or if WinVNC already uses this)
please let me know.
Mac
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------