Raymond Chen has confirmed that there is no publicly documented way to do this. Does anyone know an undocumented solution?
I had the same question and began some research on my own, found it eventually.
Windows aero peek API