Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ExitWindowsEx doesn't seem to work Correctly
Message
De
08/09/1997 19:33:15
 
 
À
08/09/1997 15:49:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00048937
Message ID:
00049083
Vues:
61
>Hi Scott!
>
>You're welcome with your questions here ;))
>You haven't define properly the prototype, so I answer for you:
>
>declare InitiateSystemShutdown in Win32Api;
> string @,;
> string @,;
> string,;
> integer
>
>and the second note: you SHOULD pass the first and the second param by
>reference.
>As the third param you can pass replicate(chr(0),4)

Usually, declaring a DWORD param as a string is not the best idea. It just gives you an useless overhead.

For input parameters (as in this case), DWORD can always be declared as LONG or INTEGER (these 2 types are equivalent in VFP).

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform