Example #1
0
 private static extern int SetDevicePower(string pvDevice, int dwDeviceFlags, DevicePowerState DeviceState);
Example #2
0
 private static extern int SetDevicePower(string pvDevice, int dwDeviceFlags, DevicePowerState deviceState);
Example #3
0
 public static extern int DevicePowerNotify(string name, DevicePowerState state, int flags);
Example #4
0
 private static extern IntPtr SetPowerRequirement(String pvDevice, DevicePowerState deviceState, int deviceFlags, IntPtr pvSystemState, int stateFlags);
Example #5
0
 public static extern int SetPowerRequirement(string DeviceName, DevicePowerState State, uint dwDeviceFlags, string Name, ulong Reserved);