somSelf (WPPower *) - input
Points to an object of class WPPower.
ulParm1 (ULONG) - input
This parameter contains a complex value. The ULONG value is composed of two separate USHORT values. These values are as follows:
SubId (USHORT)
0x0006
The set power state request is used to initiate a change in the system's power conservation support state. The ulparm2 value determines the scope of the request.
SubId(USHORT) = 0006h ulParm1 = MAKEULONG(SubId,0)
ulparm2 (ULONG) - input
This parameter contains a complex value. The ULONG value is composed of two separate USHORT values.
DevId (USHORT)
0x0001
System-managed devices are the hardware-system specific set of devices that support power-managed states. Because this set of devices is hardware specific, each system configuration may have unique support capabilities.
0x0001
This state indicates that the specified devices should be set into a power conservation mode that consists of a partial power level that allows for improved energy conservation without noticeable power up delays for re-established operation.
This state indicates that the specified devices should be set into a power conservation mode that consists of a partial power level that allows for substantial energy conservation with accepted noticeable power-up delays for re-established operation.
Example of ulparm2 construction:
DevId(USHORT) = 0001h PwrState(USHORT) = 0002h ulParm2 = MAKEULONG(DevId,PwrState)
rc (BOOL) - returns
TRUE