Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's the perfect way for Rebooting the machine
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00103482
Message ID:
00103491
Vues:
22
>Hello,
>
>What's the systematic and perfect way thru Win32Api to Re-Boot the machine and also to handle other opened Application Windows,
>
>Please try to solve it with example
>
>Regards
>Raj
Here you go:
#define EWX_REBOOT   2
DECLARE ExitWindowsEx IN Win32API;
  INTEGER uFlags, INTEGER Reserved
= ExitWindowsEx(EWX_REBOOT, 0)
hth,
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform