You are developing an application. The application uses a device driver. You need to ensure that the device operates in a specific power state while the application is running. What should you do?
A.
Send a WM_HIBERNATE message.
B.
Call the SetPowerRequirement function.
C.
Set the _T(PowerManager/ReloadActivityTimeouts) event.
D.
Modify the values under the
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Interfaces registry key.