View Single Post
Unread 11-02-2004, 09:49 AM   #13
wmandra
Cooling Neophyte
 
wmandra's Avatar
 
Join Date: Oct 2003
Location: New Jersey
Posts: 20
Default

Quote:
Am I missing something? Do I have too much faith in the software?
The biggest problem I see in relying on a software solution is that 99% of the time people use the CPU diode temps which have proven unreliable time and time again. They are also not as accurate as some of us would like. Plus, like Bigben2K stated, if you are solely depending on software what happens if the system has already crashed.... you're sol and the software solution is going to provide you with 0% of protection.

Windows shutdown is possible through API calls. Specifically the ExitWindowsEx function located is the user32.dll for all you VB guys out there
Declare Function ExitWindowsEX& Lib "user32" (ByVal uFlags&, ByVal dwReserved&)
uFlags: (Combine flags using the OR function)
0 = EWX_LOGOFF
1 = EWX_SHUTDOWN (Powering off if possible)
2 = EWX_REBOOT
3 = EWX_SHUTDOWN (No Power off)
4 = EWX_FORCE (Force termination of processes that don't respond
dwReserved = 0
Returns non-zero on success, zero on error


Bill
wmandra is offline   Reply With Quote