Desktop Functions: Smart Device Functions:
|
Search Results for "SetSystemPowerState" in [All]coredllWhile this wakes the device, the screen may remain powered off. Combine with SetSystemPowerState truly wake up everything.
static extern int SetSystemPowerState(string psState, int StateFlags, int Options);
Declare Function SetSystemPowerState Lib "Coredll" ( _
SetSystemPowerState(Nothing, POWER_STATE_ON, POWER_FORCE)
SetSystemPowerState(Nothing, POWER_STATE_RESET, POWER_FORCE)
return SetSystemPowerState(null, POWER_STATE_ON, POWER_FORCE);
return SetSystemPowerState(null, POWER_STATE_RESET, POWER_FORCE); |