>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.