Hi,
I am interested in writing a Wrapper DLL over GDI in order to trap the
graphics update. I am familiar with PE format and have patched few DLLs,
however, I have little idea how will the WinVNC uses this information. 

I propose the following.
1. Write a DLL GDI32.DLL with all the function of MS supplied GDI functions.
2. Each function in the new DLL does the following. Write to a named pipe
the following structure
        CARD16 length; //lenght of the structure
        CARD32 processID; // process id
        CARD32 threadID; // thread ID
        BYTE  funcName[SOME_LEN]; // function name
        ARGS1 // first argument to the function
        ARGS2
        ...
        ...
ARGS1, ARG2 are the arugment to the original function. 
3. After writing to the pipe, the function calls the original function from
the MS DLL.

So, if someone is intersted in working on the WinVNC stuff I will help put
up the GDI wrapper DLL.
Thanks
-shashi
---------------------------------------------------------------------
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
---------------------------------------------------------------------

Reply via email to