Article View: borland.public.cppbuilder.nativeapi
Article #6927Re: What is this code good for?
From: Grety
Date: Tue, 05 Apr 2005 05:46
Date: Tue, 05 Apr 2005 05:46
22 lines
1619 bytes
1619 bytes
Then it seems that I have to add a line (maybe more) to the last line to make it shutdown. Is it different in WinXP? I guess there is some difference between Win98 and WinXP codes to shutdown the OS. "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:42505453$1@newsgroups.borland.com... > > "Grety" <valid@emailaddress.com> wrote in message > news:425037b0@newsgroups.borland.com... > > > My Question ius what is this code for? > > Restarting windows? > > It ensures that the callng process has rights to shutdown Windows. It does > not perform the actual shutdown. > > > Gambit > >
Technical Details
Message-ID:
<4250d548@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed.inode.at!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<425037b0@newsgroups.borland.com> <42505453$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,fdf971a7398016b1 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Grety" <valid@emailaddress.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <425037b0@newsgroups.borland.com> <42505453$1@newsgroups.borland.com> Subject: Re: What is this code good for? Date: Tue, 5 Apr 2005 10:16:41 +0430 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2479.0006 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006 NNTP-Posting-Host: 217.219.105.193 Message-ID: <4250d548@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1112593736 217.219.105.193 (3 Apr 2005 22:48:56 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed.inode.at!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail