title: How to make Windows go to sleep from app?
body: <p>Im trying to make an app that can put windows 7 to sleep, 
  I have been looking at WM_Messages, but cant seem to find one that does the jobb. </p>
  
  <p>I can use ether C++ or Delphi to make the app if there it makes any difference. </p>