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