Uses 3917K of libraries. Click here for Pure Java version (53L/1K).
1 | !include once #1030303 // JNA Win32 |
2 | |
3 | sS jnaWindows_windowTitle(HWND window) { |
4 | if (window == null) null; |
5 | char[] windowText = new[512]; |
6 | User32.INSTANCE.GetWindowText(window, windowText, windowText.length); |
7 | ret Native.toString(windowText); |
8 | } |
Began life as a copy of #1030304
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030305 |
Snippet name: | jnaWindows_windowTitle |
Eternal ID of this version: | #1030305/3 |
Text MD5: | d63fe36ed510a60789189d9810c5de59 |
Transpilation MD5: | c56f5f935ec0ababf4be444c096a16f5 |
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:45:24 |
Source code size: | 253 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 190 / 269 |
Version history: | 2 change(s) |
Referenced in: | [show references] |