public static extern int DevicePowerNotify( string device, CEDevicePowerState state, int flags);
public static extern int GetDevicePower( string pvDevice, PowerDeviceFlags dwDeviceFlags, ref CEDevicePowerState DeviceState);
public static extern IntPtr SetPowerRequirement( String pvDevice, CEDevicePowerState DeviceState, PowerDeviceFlags DeviceFlags, IntPtr pvSystemState, int StateFlags);