PDA

View Full Version : FastBack Registry Setting? How do you write a DWORD value?


bigflavor
21-04-2008, 04:57 AM
Hello,

After flashing Alcaline's WM6.1 standard ROM for the Wings, I began researching Internet Explorer Mobile.

I came across a very interesting feature called FastBack (http://msdn2.microsoft.com/en-us/library/bb415465.aspx), however, I don't understand how to write the DWORD value. The value is derived from a LOWORD and a HIWORD. I did some research on those, but can't make much sense out of it and was hoping some of you devs could help out.

Does anyone have any experience working with LOWORD and HIWORD? Can anyone make sense of combining the two to create a DWORD?


Thanks!

Matt

Koterpillar
21-04-2008, 07:31 AM
HIWORD * 65536 + LOWORD = what you need.

bigflavor
22-04-2008, 04:42 AM
HIWORD * 65536 + LOWORD = what you need.

Thanks for the reply.

So, if I understand correct, to calculate the DWORD that would be the FastBack DWORD value, for 8 pages and 2048KB cache the value would be:

2048 * 65536 + 8 = 134217736

That seems really high. But, that could be correct. FastBack is currently functional with a DWORD value of 8092.

Please confirm.


Also, what could be done about a Forward caching? As in, would it be possible to create some kind of IE mobile add-on that allows you to enter an "Offline caching mode" that will begin to cache forward and back? I'm seriously interested in this as a solution to reading NY Times on the subway.

Thanks,

Matt