Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing null to WIN32API
Message
De
03/06/1997 20:07:01
 
 
À
03/06/1997 10:43:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00034720
Message ID:
00034882
Vues:
27
First, if it's a pointer, you should declare it "string @". You can pass 0 or .NULL. for a null pointer.

My .25 CT$, :)
Vlad

>In various WIN32API functions, sometimes, it indicates that a specific parameter may be passes as null.
>
>Assuming I have this definition in Visual FoxPro, what would be the syntax to pass a null to this function?
>
>DECLARE INTEGER NetUserDel IN NETAPI32 STRING,STRING
>
>In this function, the documentation indicates this for the first parameter:
>
>A pointer to a Unicode string containing the name of the remote server on which the function is to execute. A NULL pointer or string specifies the local computer.
>
>So, to point to my NT workstation for testing, I should be able to pass a null and this is where I can't seem to find a correct syntax.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform