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