News for hackers. Stuff that matters.
Re:Fibers: An Elegant Windows API by magicalhippo on Friday March 29, 2019 @12:36PM (#19523181)
I misunderstood the poster I was replying to. To me it sounded like he wanted a singular call to be able to iterate over all the files in the directory.

I then assumed you proposed something similar with your FindFile call, and I didn't and still don't see how to do that in a clean way, hence asking how you would imagine it working.

In a reply the OP clarified that it was the fact that FindFirstFile does two things (initializing the handle, and getting the first result if any), rather than cleanly separating the handle initialization from getting the results. This is different, and a point I can agree with.

There are no comments on this comment yet.