Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Win32 API

Status
Not open for further replies.

simmeone

Programmer
Mar 16, 2000
29
DE
Hi folks,<br><br>sorry but my english is not the best, but I want to try it.<br><br>I want to program a tool that <b>can close all open programs, LAN-connections and shutdown Windows (<font color=red>WinNT, Win2k, Win9x and WinME</font>) at the end.</b><br><br>Have there anyone a little tip for me?<br><br>Greetings SiM
 
You can possibly try ExitWindowsEx(...) function. I can't remember the parameters. Check them in Win32 SDK help file.<br>I think it does all that you mention above and closes Windows. Regards... dex
 
Hello dex,<br><br>thX very much it works very finde.<br><br>Greeting SiM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top