detecting a transition from DC to AC power

Is there a way (POWER IRP??, ACPI callback?) to detect a transition when a
system is running on AC to DC power?

thanks,

daniel

Check the docs for ExRegisterCallback - the callback you want is
\Callback\PowerState.

-Eliyas

-----Original Message-----
From: Nemiroff, Daniel [mailto:xxxxx@intel.com]
Sent: Monday, November 27, 2000 5:01 PM
To: NT Developers Interest List
Subject: [ntdev] detecting a transition from DC to AC power

Is there a way (POWER IRP??, ACPI callback?) to detect a transition when a
system is running on AC to DC power?

thanks,

daniel


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

Eliyas:

thanks, this will work.

Is there a similar way to get notified when a user docks/undocks a docking
station?

thanks,

daniel

-----Original Message-----
From: Eliyas Yakub [mailto:xxxxx@microsoft.com]
Sent: Tuesday, November 28, 2000 9:50 AM
To: NT Developers Interest List
Subject: [ntdev] RE: detecting a transition from DC to AC power

Check the docs for ExRegisterCallback - the callback you want is
\Callback\PowerState.

-Eliyas

-----Original Message-----
From: Nemiroff, Daniel [mailto:xxxxx@intel.com]
Sent: Monday, November 27, 2000 5:01 PM
To: NT Developers Interest List
Subject: [ntdev] detecting a transition from DC to AC power

Is there a way (POWER IRP??, ACPI callback?) to detect a transition when a
system is running on AC to DC power?

thanks,

daniel


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)


You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)