473,505 Members | 16,332 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Detect system goto sleep mode, hibernation mode, switch user, logo

Is there anyway my AP can detect system goto Sleep, Hibernation mode, switch
user and logoff?
Nov 17 '05 #1
3 6720
steve wrote:
Is there anyway my AP can detect system goto Sleep, Hibernation mode,
switch user and logoff?


Have a look here
http://msdn.microsoft.com/library/de.../en-us/power/b
ase/wm_powerbroadcast.asp

--
André Prins
Twain Development
Nov 17 '05 #2
steve wrote:

and here
http://msdn.microsoft.com/library/de.../en-us/sysinfo
/base/wm_queryendsession.asp
--
Andre Prins
Twain Development
Nov 17 '05 #3
Andre,

Thanks a lot for the information, solved my problem

"Andre Prins" wrote:
steve wrote:

and here
http://msdn.microsoft.com/library/de.../en-us/sysinfo
/base/wm_queryendsession.asp
--
Andre Prins
Twain Development

Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
20415
by: Scott Shaw | last post by:
Hi all, I was wondering if you could help out with this problem that I am having. What I am trying to do is detect keyboard input in a while loop without halting/pausing the loop until the key is...
4
2680
by: SiuLoBow | last post by:
Hi, Is there anyway to detect the ActiveX control is able to run on the browser or not? After I installed the ActiveX control to my system, user sometimes switch the secruity setting to "not...
2
2469
by: johnsto | last post by:
Anyone know if it's possible for a .NET program to detect if the system has just come out of hibernation? If so, how? :) I'm using C#. TIA
5
1548
by: sugaray | last post by:
Right now, the code I wrote below seems works fine, i know it's definitely not the best solution, so if there are better solutions to eschew from using goto statements to jump out of multiple loops...
7
10139
by: Christopher Benson-Manica | last post by:
Can you goto switch labels? int i=0; /* arbitrary */ switch( i ) { case 0: if( !some_validity_check() ) { goto error; /* could be default as well */ } /* proceed normally */
17
2295
by: Mike Hofer | last post by:
While I'd toyed with C, C++, and Java over the last 20 years or so, my principal language has been BASIC, QBASIC, then Visual Basic, and finally Visual Basic .NET. But lately, I've been using C#...
1
1497
by: spiderman559 | last post by:
whenever i put my computer into sleep mode, and turn it back on after hibernation its seems to me like my computer over heats.. The beep message i get from the motherboard is a klaxton sound a Hi...
1
1314
by: =?Utf-8?B?cm9iNjUz?= | last post by:
I was handed a Compaq laptop that has Windows XP Home installed and is current to SP3. The computer has been functioning fine but today the owner, an elderly relative, told me pressed a couple of...
0
3270
by: =?Utf-8?B?am1hZ2FyYW0=?= | last post by:
My program needs to do X when someone 'starts using' their Windows user account, and it should do Y when they 'stop using' their Windows user account. By 'starts using' I mean they log on, unlock...
0
7307
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7370
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7021
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5614
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5035
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3188
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3177
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1532
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
755
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.