I dont think they are handled even in the original WinVNC code. I have no
idea about DirectX api but I think the same idea can be used by wrapping the
appropriate DLL.

In addition to the idea mentioned in the previous mail, I think I have to
probably send the process/thread  death messages to the WinVNC
-shashi
-----Original Message-----
From: Andrew Lyon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 7:13 AM
To: '[EMAIL PROTECTED]'
Subject: RE: GDI DLL Wrapper


What about non gdi updates? Directdraw etc?

-----Original Message-----
From: Sharma, Shashi [mailto:[EMAIL PROTECTED]]
Sent: 08 March 2001 15:06
To: '[EMAIL PROTECTED]'
Subject: GDI DLL Wrapper


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
---------------------------------------------------------------------


************************************************************ 
Registered Office: 
J.O. Sims Ltd 
Pudding Lane 
Pinchbeck 
Spalding 
Lincs 
PE11 3TJ 
Company reg No: 2084187 Vat reg No: GB 437 4621 47 
Tel: +44 (0) 1775 842100 
Fax: +44 (0) 1775 842101 
Web: www.josims.com 
Email: [EMAIL PROTECTED] 

************************************************************ 
The information contained in this e-mail is confidential 
and is intended for the addressee only. The contents of 
this e-mail must not be disclosed or copied without the 
sender's consent. If you are not the intended recipient of 
the message, please notify the sender immediately, and 
delete the message. 

The statements and opinions expressed in this message are 
those of the author and do not necessarily reflect those 
of the company. No commitment may be inferred from the 
contents unless explicitly stated.  The company does not 
take any responsibility for the personal views of the 
author. 

This message has been scanned for viruses before sending, 
but the company does not accept any responsibility for 
infection and recommends that you scan any attachments. 
************************************************************
---------------------------------------------------------------------
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
---------------------------------------------------------------------
---------------------------------------------------------------------
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