win32
win32 copied to clipboard
Watching a directory for changes and responding - is there support for wait functions?
Going off the official docs, if I want to watch a directory for changes (and respond to them), I need a wait function. However, I couldn't find any equivalents to (for example) RegisterWaitForSingleObject, which I assume is what I would need. Am I missing something, or is there another way to do this using this library?
That API just hasn't been needed before and so doesn't exist yet in Win32.
The Windows API surface is quite huge so we only add things on demand. I'd be happy to take this addition if you're going to be working on it anyway.
Otherwise I'll add it to my backlog but I'm not sure when I'll get the time to do it.