Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / August 2007

Tip: Looking for answers? Try searching our database.

Power On/Off notification

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Empi - 19 Aug 2007 11:12 GMT
Hi,

Is there a nice way of capturing the on off button?
I managed to find several articled on c++, but no c# regarding the
RequestPowerNotifications function.
I'll appreciate any link to an article about it.

Thanks.
<ctacke/> - 19 Aug 2007 16:07 GMT
You'll use the same API calls as C does, just through P/Invoke.

Signature

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com

> Hi,
>
[quoted text clipped - 4 lines]
>
> Thanks.
Simon Hart - 20 Aug 2007 18:52 GMT
If my memory serves me correct, I think OpenNETCF wrote a managed wrapper for
this.

Signature

Simon Hart
http://simonrhart.blogspot.com

> Hi,
>
[quoted text clipped - 4 lines]
>
> Thanks.
<ctacke/> - 20 Aug 2007 19:26 GMT
Indeed we do.  We have it through the Notification manager or the Power
Manager:

http://opennetcf.com/library/sdf/html/df1f43f7-372f-d2f4-93a0-9bb464cc0f3d.htm
http://opennetcf.com/library/sdf/html/4839542c-8414-c366-8bcd-0ee911b01ca7.htm
http://opennetcf.com/library/sdf/html/165162f9-5d9f-bd61-76b2-3091ebfbe98a.htm

Signature

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com

> If my memory serves me correct, I think OpenNETCF wrote a managed wrapper
> for
[quoted text clipped - 8 lines]
>>
>> Thanks.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.