Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WNetOpenEnum
Message
From
13/02/1999 12:13:03
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00185007
Message ID:
00187388
Views:
55
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform