[Lazarus] Power Off/Restart a PC

Fábio Henrique de Souza fabiohsouza at gmail.com
Fri Apr 8 14:24:09 CEST 2011


Thanks

Em 07-04-2011 15:17, Nikolay Nikolov escreveu:
> On 04/07/2011 04:08 PM, Fábio Henrique de Souza wrote:
>> Hi all,
>>
>> How to power off and restart a computer with Lazarus?
>> (cross-platform or Windows and Linux)
>
> For Windows, use the ExitWindowsEx function:
>
> http://msdn.microsoft.com/en-us/library/aa376868%28v=vs.85%29.aspx
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110408/a50cc231/attachment-0003.html>


More information about the Lazarus mailing list