Article View: borland.public.cppbuilder.nativeapi
Article #1307Re: Can't get the computer to programmatically wake from standby.... (original question in language cpp)
From: Bob Gonder
Date: Sat, 15 Sep 2007 00:03
Date: Sat, 15 Sep 2007 00:03
15 lines
1759 bytes
1759 bytes
Remy Lebeau (TeamB) wrote: >Not in Standby mode. Is there a seperate "Sleep" mode? I think this help item is what he was trying to do... System Wake-up Events Your application can restore an On-Now capable computer that is in a sleeping state to the working state by using a scheduled time or a device event. This is known as a wake-up event. Use a waitable timer object to specify the time at which the system should wake. To create the object, use the CreateWaitableTimer function. To set the timer, use the SetWaitableTimer function. The pDueTime parameter specifies when the timer will be signaled. To specify that the system should wake when the timer is signaled, set the fResume parameter to TRUE.
Technical Details
Message-ID:
<cr5me3lal8ok02r95e5k57v0etnbqg0ho0@4ax.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<46eaf724$1@newsgroups.borland.com> <46eb0592$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,dbb9f35f467d4b41 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Can't get the computer to programmatically wake from standby.... (original question in language cpp) Date: Fri, 14 Sep 2007 17:03:21 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <cr5me3lal8ok02r95e5k57v0etnbqg0ho0@4ax.com> References: <46eaf724$1@newsgroups.borland.com> <46eb0592$1@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.77.146.190 X-Trace: newsgroups.borland.com 1189814597 67.77.146.190 (14 Sep 2007 17:03:17 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail