Is there a way to make my application tell something else to minimize/maximize/restore itself.

Example: My form commands Windows Media Player to minimize, but not just Media Player. I want to minimize/maximize/restore any window.