Parent Directory
|
Revision Log
|
Patch
--- trunk/NexusPowerCommand/Program.cs 2011/10/25 07:59:36 28 +++ trunk/NexusPowerCommand/Program.cs 2011/10/25 08:11:08 29 @@ -54,6 +54,7 @@ Console.WriteLine(string.Format("Detected use of: {0}", PowerCommands.shutdown)); return; #endif + win32api.Shutdown(); } private static void Restart() { @@ -61,6 +62,7 @@ Console.WriteLine(string.Format("Detected use of: {0}", PowerCommands.restart)); return; #endif + win32api.Restart(); } private static void Logoff() { @@ -68,6 +70,7 @@ Console.WriteLine(string.Format("Detected use of: {0}", PowerCommands.logoff)); return; #endif + win32api.LogOff(); } private static void Lock() { @@ -83,6 +86,7 @@ Console.WriteLine(string.Format("Detected use of: {0}", PowerCommands.sleep)); return; #endif + win32api.Sleep(); } } }
ViewVC Help | |
Powered by ViewVC 1.1.22 |