Windows visibility

I know there is a windows call that allows me to find out which windows are visible, but I can’t find the function name in MSDN. Does anyone know it? Also does anyone know of good coding forum (like this one is for openGL) for windows coding questions or physics questions?