<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 04/07/2011 04:08 PM, Fábio Henrique de Souza wrote:
    <blockquote cite="mid:4D9DB751.3050801@gmail.com" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <link href="chrome://translator/skin/floatingPanel.css"
        type="text/css" rel="stylesheet">
      Hi all,<br>
      <br>
      How to power off and restart a computer with Lazarus?<br>
      <span class="mw-headline">(cross-platform or Windows and Linux</span>)<br>
    </blockquote>
    <br>
    For Windows, use the ExitWindowsEx function:<br>
    <br>
     <a class="moz-txt-link-freetext" href="http://msdn.microsoft.com/en-us/library/aa376868%28v=vs.85%29.aspx">http://msdn.microsoft.com/en-us/library/aa376868%28v=vs.85%29.aspx</a><br>
  </body>
</html>