dcsimg
 

Locating Desktop Icon Positions using Memory Mapped Files

by Paul Pavlic

This great article / project shows how to manipulate the desktop using Windows memory-mapped-files. An ideal starting point if you've never used them before.

Problem:

Using Sendmessage with LVM_GETITEMPOSITION causes page faults in Explorer.

Resolution:

Using memory-mapped files to do the cross process messaging needed.

Home
Mobile Site | Full Site