Re: How to suspend Windows?
- From: "Steve Gerrard" <mynamehere@xxxxxxxxxxx>
- Date: Sun, 8 Apr 2007 10:50:00 -0700
"Jack" <replyto@it> wrote in message
news:eJMzwIgeHHA.2332@xxxxxxxxxxxxxxxxxxxxxxx
When >Start>Turn Off Computer is clicked Windows go into 'suspension' mode
until the next button is pressed.
How to do that programmatically?
Thanks,
Jack
On some computers.
First, get the API guide here: http://allapi.mentalis.org/agnet/apiguide.shtml
In the Power Management section, you will find a set of APIs, with examples,
including
GetPwrCapabilities
IsPwrHibernateAllowed
IsPwrShutdownAllowed
IsPwrSuspendAllowed
SetSuspendedState
SetSystemPowerState
.
- Follow-Ups:
- Re: How to suspend Windows?
- From: Jack
- Re: How to suspend Windows?
- References:
- How to suspend Windows?
- From: Jack
- How to suspend Windows?
- Prev by Date: Re: VB or C#
- Next by Date: Re: Form Position
- Previous by thread: How to suspend Windows?
- Next by thread: Re: How to suspend Windows?
- Index(es):
Loading