Ejemplo n.º 1
0
 public static extern int GetDevicePower(
     string pvDevice,
     PowerDeviceFlags dwDeviceFlags,
     ref CEDevicePowerState DeviceState);
Ejemplo n.º 2
0
 public static extern IntPtr SetPowerRequirement(
     String pvDevice, CEDevicePowerState DeviceState, PowerDeviceFlags DeviceFlags, IntPtr pvSystemState, int StateFlags);
Ejemplo n.º 3
0
 public static extern int SetSystemPowerState(string psState, PowerState StateFlags, PowerDeviceFlags Options); //POWER_FORCE
Ejemplo n.º 4
0
 public static extern int GetDevicePower(
     string pvDevice,
     PowerDeviceFlags dwDeviceFlags,
     ref CEDevicePowerState DeviceState);
Ejemplo n.º 5
0
 public static extern IntPtr SetPowerRequirement(
     String pvDevice, CEDevicePowerState DeviceState, PowerDeviceFlags DeviceFlags, IntPtr pvSystemState, int StateFlags);
Ejemplo n.º 6
0
 public static extern int SetSystemPowerState(string psState, PowerState StateFlags, PowerDeviceFlags Options); //POWER_FORCE