Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1030305 // jnaWindows_windowTitle

JavaX fragment (include) [tags: use-pretranspiled]

Uses 3917K of libraries. Click here for Pure Java version (53L/1K).

!include once #1030303 // JNA Win32

sS jnaWindows_windowTitle(HWND window) {
  if (window == null) null;
  char[] windowText = new[512];
  User32.INSTANCE.GetWindowText(window, windowText, windowText.length);
  ret Native.toString(windowText);
}

Author comment

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: 120 / 175
Version history: 2 change(s)
Referenced in: [show references]