🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14809

Re: ExitWindowsEx

#14809
From: micheal davis
Date: Wed, 30 Jul 2003 15:07
19 lines
1447 bytes
BTW I tried the same code on Windows 98 and it works more than fine...


"micheal davis" <micheal_davis@hotmail.com> wrote in message
news:3f27dcf4@newsgroups.borland.com...
> hi all,
>
> I am trying to shut down windows XP home edition using the following line
of
> code
>
> ExitWindowsEx(EWX_SHUTDOWN | EWX_FORCE, 0);
>
> but unfortunately it is not working can some one tell me please what I am
> doing wrong...
>
> thanks
>
>
Technical Details
Message-ID: <3f27df1f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!wn14feed!worldnet.att.net!208.49.253.98!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3f27dcf4@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,aab6793df64212ca
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-30 08:08:45 PST
From: "micheal davis" <micheal_davis@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f27dcf4@newsgroups.borland.com>
Subject: Re: ExitWindowsEx
Date: Wed, 30 Jul 2003 07:07:11 -0800
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 213.158.160.99
Message-ID: <3f27df1f@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1059577631 213.158.160.99 (30 Jul 2003 08:07:11 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!wn14feed!worldnet.att.net!208.49.253.98!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail