title: change status of windows services in c/c++
body: <p>How can i change current state of a windows service from a C/C++ program ??  </p>
  
  <p>for example say, Mysql is running as a service and its current status is 'Started'... how can I check the status and how can i change its status from a c/c++ program? like if I want to change its status from 'Started' to 'Stopped' - how can i do it in c/c++?</p>