Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NetFileEnum API Call
Message
From
12/06/1999 14:30:40
 
 
To
09/06/1999 11:57:06
General information
Forum:
Visual Basic
Category:
Windows API functions
Miscellaneous
Thread ID:
00227934
Message ID:
00229172
Views:
19
>I'm trying to call the NetFileEnum API function in VB5. I'm able to declare and call the function successfully, but am not sure on how to get the data from the buffer after the call. I know that the function only deals with a pointer to the buffer, but I need to get to this in my code. What is the structure of this buffer after the call? Anything special I need to do?

While it's not VB, you might want to take a look at some of the sample VFP in my NETRSC.ZIP file - one of the examples uses WNetFileEnum, which unlike NetFileEnum, works on both Win9x and NT, It'll at least show you how to populate the members of the structure, and VFP syntax isn't that far from VB's.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform