Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watching a directory for changes and responding - is there support for wait functions? #135

Open
kozross opened this issue Nov 14, 2019 · 1 comment

Comments

@kozross
Copy link

kozross commented Nov 14, 2019

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?

@Mistuke
Copy link
Contributor

Mistuke commented Nov 19, 2019

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.

bgamari pushed a commit to bgamari/win32 that referenced this issue Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants