Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WNetOpenEnum
Message
From
12/02/1999 23:56:28
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00185007
Message ID:
00187330
Views:
58
The handle must be passed by val and not by ref to WNetEnumResource.

Vlad

>hEnum is declarted as INTEGER @ in WNetOpenEnum, and a numeric variable should be passed by reference in the call to WNetOpenEnum to retrieve the assigned handle. You can then use the returned value for hEnum to WNetEnumResource, passing again by reference in the call to WNetEnumResource, so that you get back the adjusted handle after each WNBetEnumResource call
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform