-
Notifications
You must be signed in to change notification settings - Fork 30
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
Add missing API to open app in foreground? #121
Comments
I pushed an implementation for
|
That's great, thanks for adding WaitForInputIdle! I can understand you want to keep the winsafe API stable and avoid breaking changes. The original Windows API for ShellExecuteEx is quite horrible, mixing input/output fields in the same struct. Let me think about this a little and we can discuss a possible API design here before making a PR. |
Hi Chris, I pushed an unsafe implementation of So my idea is that, from this starting point, you try to write your stuff. Then we can discuss your pain points and make small improvements to If you find any difficulties, just reply down here and I'll be glad to help you. |
First of all, thanks for this lib, it is so much better to code against than the native Windows API!
I am trying to start and open an app in foreground and this needs functions currently not covered by winsafe:
Would it be ok to create a pull request for there functions? Plus struct ShellExecuteEx internally, I think it's better to disect it in the public interface as its members are mixed input / output.
The text was updated successfully, but these errors were encountered: