What should you do?

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?

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.



Leave a Reply 0

Your email address will not be published. Required fields are marked *