According to this discussion:
https://groups.google.com/d/msg/jna-users/2gqOb9wfmgk/IbpUQjbPifEJ
...I'd agree to contribute some implementations to JNA that request the icon used by a concrete HWND and convert it into Java's BufferedImage. There were some pitfalls during processing of HICON and obtaining the icon's size. For instance, one pitfall was that SendMessageA freezed the Java application if it was invoked for HWND instances of some processes.
What do you think about my proposal/suggestion?
According to this discussion:
https://groups.google.com/d/msg/jna-users/2gqOb9wfmgk/IbpUQjbPifEJ
...I'd agree to contribute some implementations to JNA that request the icon used by a concrete HWND and convert it into Java's
BufferedImage. There were some pitfalls during processing of HICON and obtaining the icon's size. For instance, one pitfall was thatSendMessageAfreezed the Java application if it was invoked for HWND instances of some processes.What do you think about my proposal/suggestion?