General information
Category:
Windows API functions
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only