Pass RECT to LPARAM in EnumWindows
Posted on 2003-12-03
I know I'm just missing something, but I'm trying to pass a RECT structure to LPARAM in the EnumWindows function. When I pass a reference to it, for some reason when I try to get the RECT structure again, it doesn't have the right values. I just need a little help getting the structure properly.
Here's how I'm calling EnumWindows:
Now, I can really remember how to get the value from LPARAM into a RECT. Just a simple code example is all I need.
Thanks to anyone who helps. =)