Getting window position/size of a process

BlitzMax Forums/BlitzMax Programming/Getting window position/size of a process

Volker(Posted 2008) [#1]
I need to know the window position and size of a process
to create an overlaying frame.
I got so far that I have to call the winAPI.
In the API-guide I downloaded there is a function "GetWindowPlacement"
"The GetWindowPlacement function retrieves the show state and the restored, minimized, and maximized positions of the specified window."
Is this the way to get the informations I need?

Would be nice if someone leads me in the right direction.