Method: Win32.window_title
- Defined in:
- lib/uia/library/win32.rb
.window_title(handle) ⇒ Object
18 19 20 21 22 23 |
# File 'lib/uia/library/win32.rb', line 18 def window_title(handle) length = window_title_length(handle) + 1 title = FFI::MemoryPointer.new :char, length _window_title handle, title, length title.read_string end |