IConsolePower interface

The IConsolePower interface controls the execution state and idle timers on operating systems that support power management.

When to implement

Do not implement this interface. The IConsolePower interface is implemented by MMC, beginning with MMC 2.0.

When to use

Use the IConsolePower interface to control execution state and idle timers on operating systems that support power management. Create an instance of the IConsolePower interface by using the CoCreateInstance function or a similar function. The IConsolePower interface also serves as a connection point (through the AtlAdvise function) to the IConsolePowerSink interface.

Members

The IConsolePower interface inherits from the IUnknown interface. IConsolePower also has these types of members:

Methods

The IConsolePower interface has these methods.

MethodDescription
ResetIdleTimer

Resets idle timers.

SetExecutionState

Sets the execution state.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Mmc.h

Library

Mmc.lib

DLL

Mmcndmgr.dll

See also

IConsolePowerSink

 

 

Show: