Information générale
Catégorie:
Fonctions Windows API
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement