Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Min Logon with ACPI features

17 views
Skip to first unread message

Rafael de Góes

unread,
Nov 20, 2003, 3:32:16 PM11/20/03
to
Hi,

I'm trying to use Minlogon together with the ACPI features, mainly to
shutdown the system but for me it works only with windows logon... what
component do I need to include ? Or do I need to modify any
registry settings to achieve that ?

Regards
Rafael de Góes
eSysTech - Brazil


Slobodan Brcin

unread,
Nov 20, 2003, 3:20:33 PM11/20/03
to
What ACPI features are missing?

Only thing I noticed is that minlogon does not handle power button.
You must make app that will handle this case. You can find how to do it by
searching this news group.

Regards,
Slobodan

"Rafael de Góes" <raf...@esystech.com.br> wrote in message
news:exn0E15r...@TK2MSFTNGP12.phx.gbl...

Rafael de Góes

unread,
Nov 24, 2003, 8:03:49 AM11/24/03
to
Thanx for your reply.

The missing feature is exactly the power buttom event.I've serched in the
web based newsgroup archive (ACPI, MInlogon, etc..) but couldn't find
anything, any gess or shortcut that mentions such application ?

Regards
Rafael

"Slobodan Brcin" <sbr...@ptt.yu> wrote in message
news:OgXoNP6r...@tk2msftngp13.phx.gbl...

Slobodan Brcin

unread,
Nov 24, 2003, 9:15:14 AM11/24/03
to
Hi,

I guess that I'm the only one crazy enough to try to fix things like this ;)

http://groups.google.com/groups?q=Power+Button+group:microsoft.public.window
sxp.embedded.*+group:microsoft.public.windowsxp.embedded.*+group:microsoft.p
ublic.windowsxp.embedded.*&start=10&hl=en&lr=&ie=UTF-8&oe=UTF-8&group=micros
oft.public.windowsxp.embedded.*&scoring=d&selm=e%24tvUMZZDHA.2476%40tk2msftn
gp13.phx.gbl&rnum=13

Also for more info follow the link that search kernel NG and read top thread
of the search.

Regards,
Slobodan

"Rafael de Góes" <raf...@esystech.com.br> wrote in message

news:elF9XNos...@TK2MSFTNGP11.phx.gbl...

Rafael de Góes

unread,
Nov 26, 2003, 5:09:05 PM11/26/03
to
Thank You Very Much for the support,
I've include a handler for this message (WM_POWERBROADCAST) in my shell app
and it works fine.
But such aproach takes a while until the system shuts down.
I was wondering about using the power buttom to turn off the Power Supply
directly.
For me there is no problem since I'm using EWF..

To achieve that, is it possible to use a non ACPI configuration and leave
the Power Buttom handling to the BIOS
to instant off the system ?

"Slobodan Brcin" <sbr...@ptt.yu> wrote in message

news:e8lJxVps...@TK2MSFTNGP11.phx.gbl...

Slobodan Brcin

unread,
Nov 26, 2003, 4:34:18 PM11/26/03
to
Have you tried API call NtShutdownSystem ? It should be able to shutdown
system immediately.

I haven't seen BIOS that let you powerdown when you press power button. (You
need to hold it for more than 3 seconds).
But you will need to try your BIOS.

Regards,
Slobodan

"Rafael de Góes" <raf...@esystech.com.br> wrote in message

news:#QYlkHGt...@TK2MSFTNGP10.phx.gbl...

KM

unread,
Nov 26, 2003, 5:19:07 PM11/26/03
to
Rafael,

You may use InitiateSystemShutdown API to perform a graceful shutdown.
However, it will take a while for your anyway.

Thre is undocumentated API from ntdll.dll - NtShutdownSystem that won't
flush system changes on disk. You can get working code from here:
http://www.codeblast.com/~gert/cpp/Reset.cpp.html.
I've also seen on Internet and tried an utility that was shutting down XP
Pro less in a second. I lost the link but I believe the app was using
NtShutdownSystem internally.

KM

0 new messages