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

RegisterWindowMessage #196

Merged
merged 4 commits into from
Feb 23, 2013
Merged

Conversation

headcrashing
Copy link
Contributor

I request to merge this new functionality into your repo:
•New function mapping: RegisterWindowMessage
•New wrapper: User32Util for convenient use of RegisterWindowMessage, CreateWindow and CreateWindowEx.

@dblock
Copy link
Member

dblock commented Feb 23, 2013

Very nice. Now that you have a pull request you can fix the link in the CHANGES. And there will be a conflict in CHANGES as well as another branch got merged, so you'll need to resolve that first. Thank you.

@dblock
Copy link
Member

dblock commented Feb 23, 2013

Perfect, great, merging.

Small thing. In unit tests you're creating windows. I wonder if it needs a corresponding destroy window or we'll be leaking handles until the Java process is gone.

dblock added a commit that referenced this pull request Feb 23, 2013
@dblock dblock merged commit fb9e4c6 into java-native-access:master Feb 23, 2013
@headcrashing
Copy link
Contributor Author

Good question! In fact I don't know what maximum number of handles-per-process in Windows actually is. I remember back in 16 bit times it was rather small (like 1024 or so), but never have seen running out of HWND on Win32. If you like I can add a destruction code, but on the other hand, it would foil isolution of tests for Create and Destroy. What do you think?

@dblock
Copy link
Member

dblock commented Feb 23, 2013

I think you should add the destruction code. Other people looking at tests as examples might think that it's ok not to destroy things you've created.

@headcrashing
Copy link
Contributor Author

Ok I will add the destruction code and commit to this branch. I assume that this will not block your possibility to merge again?

@dblock
Copy link
Member

dblock commented Feb 23, 2013

Just open a new pull request after pushing the code. Thanks.

mstyura pushed a commit to mstyura/jna that referenced this pull request Sep 9, 2024
…#196)

Motivation:

Peer verification is now configured as part of the QuicSslContextBuilder. Remove the unused QuicChannelOption.

Modifications:

- Remove unused QuicChannelOption

Result:

Code cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants