Article View: borland.public.cppbuilder.nativeapi
Article #2690Re: Detect Hibernate
From: Ed Mulroy
Date: Fri, 05 Jan 2007 21:51
Date: Fri, 05 Jan 2007 21:51
15 lines
1467 bytes
1467 bytes
I don't know offhand if you get to see if suspend or hibernate is enabled. It seems that all or at least most of the time it is already suspended before entering hibernate. Look at the power management API, where a WM_POWERBROADCAST message is sent. http://msdn2.microsoft.com/en-us/library/aa373248.aspx . Ed > qyte wrote in message > news:459ec011$1@newsgroups.borland.com... > > Is there a way to detect if hibernate is enabled? > Even better if i could enable/disable it from my app.
Technical Details
Message-ID:
<459ec829$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news2.google.com!news.germany.com!newsfeed.freenet.de!news.albasani.net!feeder06.uucp-net.de!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mailReferences:
<459ec011$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d767b1d91074b232 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Ed Mulroy" <dont_email_me@bitbuc.ket> Newsgroups: borland.public.cppbuilder.nativeapi References: <459ec011$1@newsgroups.borland.com> Subject: Re: Detect Hibernate Date: Fri, 5 Jan 2007 16:51:19 -0500 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 66.57.117.102 Message-ID: <459ec829$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1168033833 66.57.117.102 (5 Jan 2007 13:50:33 -0800) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news2.google.com!news.germany.com!newsfeed.freenet.de!news.albasani.net!feeder06.uucp-net.de!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail