DOCERR: Power Control Messages in VxDs - Definitions MovedLast reviewed: January 7, 1996Article ID: Q141938 |
The information in this article applies to:
SUMMARYThe 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 INFORMATIONFor 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:
REFERENCESWindows 95 and Windows 3.1 SDK and DDK as shipped.
|
Additional reference words: 4.00 Windows 95 header 3.1 include power
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |