DisableWakeEvents property
The DisableWakeEvents property defines whether wake events are to be disabled when a computer is put to sleep by using an instance of the Console interface.
This property is read/write.
Syntax
HRESULT put_DisableWakeEvents(
[in] VARIANT_BOOL newVal
);
HRESULT get_DisableWakeEvents(
[out] VARIANT_BOOL *pVal
);
Property value
A new value that indicates whether the wake events should be disabled or enabled when the computer is put to sleep by any method of the Console interface.
Error codes
DisableWakeEvents returns a standard HRESULT value.
Remarks
The DisableWakeEvents property is used to disable or enabled wake events when the computer is suspended by one of the following methods:
See also
Send comments about this topic to Microsoft
Build date: 1/12/2012