There are two ways..:
1.calling PowerOffSystem()
declared in core dll..
extern "C" __declspec(dllimport) void PowerOffSystem();
2.calling
keybd_event(VK_OFF,0,0,0);
keybd_event(VK_OFF,0,KEYEVENTF_KEYUP,0);
Hope it helps
Regards
Amit
"Mike Berro" <mikeberrox DeleteThis @hotmail.com> wrote in message
news:%232RYYRoeDHA.2336@TK2MSFTNGP12.phx.gbl...
> Is there a function that shuts down the PPC? This is for a sleep timer.
> Thanx!
>
> ---Mike
>
>