To everyone who has the DDIWatch code you'll get more mileage by adding the
following in ddiwatch.cpp
void ReceiveArea(WPARAM wParam, LPARAM lParam, int& x, int& y, int& w, int&
h)
{
x = (wParam>>4) & 0x0FFF;
y = ((wParam & 0x000F)<<8) | ((lParam>>24) & 0x00FF);
w = ((lParam>>12) & 0x0FFF);
h = lParam & 0x0FFF;
}
and in 'DdiDlgProc(HWND hdlg, UINT uMsg, WPARAM wParam, LPARAM lParam)'
case DDI_BITBLT:
{
int x, y, w, h;
ReceiveArea(wParam, lParam, x, y, w, h);
wsprintf(szDdiString, "BitBlt:\tstart {%04d,
%04d}, size {%04d, %04d}\r\n", x, y, w, h);
break;
}
then in DDIWatches 'Log to' edit type in .\log.txt and press start.
The log file now shows how many little BitBlts your Win9x system does all
over the place.
My log file data looks about right, but I haven't rigorously checked it.
Keith
([EMAIL PROTECTED])
---------------------------------------------------------------------
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
---------------------------------------------------------------------