コード例 #1
0
 public static extern IntPtr SetPowerRequirement
 (
     string pDevice,
     CEDEVICE_POWER_STATE DeviceState,
     DevicePowerFlags DeviceFlags,
     IntPtr pSystemState,
     uint StateFlagsZero
 );
コード例 #2
0
 public static extern IntPtr SetPowerRequirement(
     string pDevice,
     CEDEVICE_POWER_STATE DeviceState,
     DevicePowerFlags DeviceFlags,
     IntPtr pSystemState,
     uint StateFlagsZero
     );
コード例 #3
0
 public static extern IntPtr SetDevicePower(
     string pDevice,
     DevicePowerFlags DeviceFlags,
     CEDEVICE_POWER_STATE DevicePowerState
     );
コード例 #4
0
 public static extern int GetDevicePower(string device, DevicePowerFlags flags, out CEDEVICE_POWER_STATE PowerState);
コード例 #5
0
 public static extern int GetDevicePower(string device, DevicePowerFlags flags, out CEDEVICE_POWER_STATE PowerState);
コード例 #6
0
 public static extern IntPtr SetDevicePower
 (
     string pDevice,
     DevicePowerFlags DeviceFlags,
     CEDEVICE_POWER_STATE DevicePowerState
 );
コード例 #7
0
ファイル: frmPowerDrain.cs プロジェクト: fido2478/engcon
 public static extern IntPtr SetPowerRequirement(
     string Device, CEDEVICE_POWER_STATE DeviceState, ulong DeviceFlags,
     IntPtr SystemState, ulong StateFlags);
コード例 #8
0
 static public extern IntPtr SetPowerRequirement(
     string Device, CEDEVICE_POWER_STATE DeviceState, ulong DeviceFlags,
     IntPtr SystemState, ulong StateFlags);