Wrap SetSystemPowerState so we don't have to use P/Invoke
If you look on the forums a few people have used P/Invoke to get their devices into the Fully Powered state etc.
21
votes
1 comment
-
Lori04102007
commented
This would be very useful. Also wrap SetDeviceState, so that we can turn on/off power of the backlight, wifi, bluetooth, etc without all the P/Invoking. My code is much neater if I just make these calls from your library. Thanks!