DOCERR: Power Control Messages in VxDs - Definitions Moved

ID: Q141938


The information in this article applies to:


SUMMARY

The Power Event message handling that VxDs can monitor through their control procedure is documented in several places, including Vmm.doc and Vmm.hlp in the DDK. Note that the Power.inc file listed in the sample code in the text of the articles, is not correct.


MORE INFORMATION

For reference, the messages are listed correctly as:


Type of power event   Can be one of these values
------------------------------------------------

PWR_CRITICALRESUME    Resume critical operations after suspension.
PWR_SUSPENDREQUEST    Suspend operation.
PWR_SUSPENDRESUME     Resume operation after suspension. 

Return Address of the doubleword that receives the return value can be one of these values:

PWR_FAIL              Virtual device failed to process the event.
PWR_OK                Virtual device processed the event successfully. 

All other values are reserved. However in the samples, the Power.inc file is specified. This does not exist in the SDK or DDK. These are actually defined as follows:


REFERENCES

Windows 95 and Windows 3.1 SDK and DDK as shipped.

Additional query words: 4.00 Windows 95 header 3.1 include power


Keywords          : 
Version           : 4.00
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: March 2, 1999