There's a Windows API to find the Windows, Windows\System, and Windows\Temp directory... but I don't know of any API to find the Program Files\Common directory.
I didn't need to know this until I found out that Microsoft went and changed how Windows works!! STUPID! Anyways... I need sample code on how to do it along with declarations/constants/types used in sample code.