Uses 3917K of libraries. Click here for Pure Java version (57L/1K).
1 | !include once #1030303 // JNA Win32 |
2 | |
3 | static L<HWND> jnaWindows_allWindowHandles() { |
4 | new L<HWND> windows; |
5 | User32.INSTANCE.EnumWindows(new WNDENUMPROC { |
6 | @Override |
7 | public boolean callback(HWND hWnd, Pointer arg1) { |
8 | ret true with windows.add(hWnd); |
9 | } |
10 | }, null); |
11 | ret windows; |
12 | } |
Began life as a copy of #1030296
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030304 |
Snippet name: | jnaWindows_allWindowHandles |
Eternal ID of this version: | #1030304/2 |
Text MD5: | eb7327a96c41bf6b32399a50e78c2fd5 |
Transpilation MD5: | adf0575593a225428bc58282f72dd95a |
Author: | stefan |
Category: | javax / windows |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-11-30 13:43:29 |
Source code size: | 308 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 188 / 256 |
Version history: | 1 change(s) |
Referenced in: | [show references] |