Standby

  1. How a device gets notified from entering the standby mode ?
  2. How to prevent the system (Win2000) to enter the standby/hibernate mode ?

A. Roth


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

The driver for the device gets Power IRPs (query & set) before going
into low power state. You can prevent it in your driver by failing the
IRP_MN_QUERY_POWER irp.

An application can also prevent the system from going into a lower power
state by returning BROADCAST_QUERY_DENY to WM_POWERBROADCAST
(PBT_APMQUERYSUSPEND) message.

-Eliyas

-----Original Message-----
From: Andreas Roth [mailto:xxxxx@arsoft-online.de]
Sent: Tuesday, June 05, 2001 11:41 AM
To: NT Developers Interest List
Subject: [ntdev] Standby

  1. How a device gets notified from entering the standby mode ?
  2. How to prevent the system (Win2000) to enter the standby/hibernate
    mode ?

A. Roth


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com