>Hi,
>
>Anyway to enable my application to shutdown itself and then
>the OS like most notebook does.
>
>For notebook, when we press the shutdown switch, it will auto
>shutdown the OS.
>
>Any way to enable this feature in our normal PC.
>
>Thank you
See API#12657 for code to shut down Windows.
Regards.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao