Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exit Windows
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00138616
Message ID:
00138667
Vues:
17
>How can I program my application to shutdown the windows 95??
> I am using function "exitwindowsex" win32api,but the windows hang after the execution.And then, I am sure about:
> -If i execute exit windows from my application ,i should close my app first,or directly issue the exit windows command???If close the app first,i think the exit windows command couldn't be executed.

Hi John,

Use ExitWindowsEx using 4 (EWX_FORCE) as the parameter. This will force all applications to close with an End Task dialog being displayed. As a side note, the message sent to each application will be WM_QUERYENDSESSION.

hth,
George

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

Click here to load this message in the networking platform