Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WNetOpenEnum
Message
De
13/02/1999 12:13:03
 
 
À
13/02/1999 04:59:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00185007
Message ID:
00187388
Vues:
66
Sincerelly, I don't understand it. MSDN says that hEnum is passed by val. That means that WNetEnumResource cannot change its value. Then, why passing it by ref? You declare it as passed by val and pass it by ref. Normally, VFP will take the address of your variable and pass it to the API function. How can it work? Does it work like this for you? IMO, it shouldn't work. ... I don't understand... Probably I'm missing something...

Vlad

>I know - take a look at the declaration in message 185193, where I posted the setup for WNetEnumResource. I meant pass by reference in VFP's terms - the parameter is passed @hEnum in the call to WNetEnumResource, so that the value will come back to VFP; VFP actually copies the value between calls.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform