I am working on a small program which should turn off the PC or do other tasks when events arrive, such as time is 8:30 AM, 90 minutes passed, process "defrag.exe" terminated or screen region X1-X2/Y1-Y2 changed.
So far, I know how to launch programs, play sounds, turn off the PC, reboot, log off, lock workstation, suspend PC, place PC in Hibernate mode or turn off display. The only thing I would like to add now is a function for turning off the HDD, but I cannot find any documentations on that. I am not even sure if it is possible to do so for a third-party application.
Anyways, if any of you know how to acomplish this task (API call, whatsoever), please let me know. The language isn't that important to me, as long as it isn't hard-core assembly.
Regards,
Sebastian
