Partager via


Implement System Power State Methods (Compact 7)

3/12/2014

After you define your system power state class in Pwstates.h, you implement the methods for your system power state class. If you do not define these methods inline in Pwstates.h, define them in Pwstate.cpp. The most important methods to implement are the two methods that handle state transitions into and out of your system power state: EnterState and WaitForEvent.

In This Section

See Also

Concepts

Define New System Power States