to minimize all open windows

please anyone help me how can i minimize all open windows using c++ program?
I want to call the minimize function at some places in my program... so write how the function structure can be made and how do i call it?
What OS? You might want to move this to the Linux or windows section.
i want it for windows os.
Topic archived. No new replies allowed.