Article View: free.it.visual-basic
Article #607Re: Spegnere il pc
From: ZonaRossa
Date: Wed, 02 Nov 2005 09:07
Date: Wed, 02 Nov 2005 09:07
29 lines
2030 bytes
2030 bytes
"maxps" <alez234@hotmail.com> ha scritto nel messaggio news:4368739d$1_3@x-privat.org... > Declare Function ExitWindowsEx& Lib "user32" _ > > (ByVal uFlags&, ByVal wReserved&) > > ' Le costanti > > Global Const EWX_LOGOFF = 0 ' Chiude la sessione > > Global Const EWX_SHUTDOWN = 1 ' Chiude il sistema > > Global Const EWX_REBOOT = 2 ' Riavvia il sistema > > Global Const EWX_FORCE = 4 ' Chiude eventuali applicazioni aperte > > Global Const EWX_POWEROFF = 8 ' Solo in PII ATX > > 'Adesso puoi chiamare uno ShutDown/un Reboot/un Logoff > > 'con questa chiamata > > lresult = ExitWindowsEx(EWX_SHUTDOWN, 0&) > > 'shutdown del computer > >In questo modo nn lo sapevo >
Technical Details
Message-ID:
<Il%9f.13122$hC1.10083@tornado.fastwebnet.it>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!tornado.fastwebnet.it!53ab2750!not-for-mailReferences:
<43620ed8$0$13360$4fafbaef@reader2.news.tin.it> <Ghp8f.6280$hC1.1170@tornado.fastwebnet.it> <skp8f.6284$hC1.3495@tornado.fastwebnet.it> <436222cc$0$29544$4fafbaef@reader1.news.tin.it> <_Lq8f.6457$hC1.2809@tornado.fastwebnet.it> <4368739d$1_3@x-privat.org>Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,6da2bb0fbcb3dab4 X-Google-Attributes: gidf94ee,public X-Google-Language: ITALIAN,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!tornado.fastwebnet.it!53ab2750!not-for-mail Reply-To: "ZonaRossa" <00000@null.ci> From: "ZonaRossa" <00000@null.ci> Newsgroups: free.it.visual-basic References: <43620ed8$0$13360$4fafbaef@reader2.news.tin.it> <Ghp8f.6280$hC1.1170@tornado.fastwebnet.it> <skp8f.6284$hC1.3495@tornado.fastwebnet.it> <436222cc$0$29544$4fafbaef@reader1.news.tin.it> <_Lq8f.6457$hC1.2809@tornado.fastwebnet.it> <4368739d$1_3@x-privat.org> Subject: Re: Spegnere il pc Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response Message-ID: <Il%9f.13122$hC1.10083@tornado.fastwebnet.it> Date: Wed, 2 Nov 2005 10:07:53 +0100 NNTP-Posting-Host: 39.242.161.49 X-Complaints-To: newsmaster@fastweb.it X-Trace: tornado.fastwebnet.it 1130922472 39.242.161.49 (Wed, 02 Nov 2005 10:07:52 CET) NNTP-Posting-Date: Wed, 02 Nov 2005 10:07:52 CET