GetWindowTextW method

int GetWindowTextW(
  1. Pointer<HWND__> hWnd,
  2. Pointer<Uint16> lpString,
  3. int nMaxCount
)

Implementation

int GetWindowTextW(
  ffi.Pointer<HWND__> hWnd,
  ffi.Pointer<ffi.Uint16> lpString,
  int nMaxCount,
) {
  return (_GetWindowTextW ??=
      _dylib.lookupFunction<_c_GetWindowTextW, _dart_GetWindowTextW>(
          'GetWindowTextW'))(
    hWnd,
    lpString,
    nMaxCount,
  );
}