GetWindowThreadProcessId method

int GetWindowThreadProcessId(
  1. Pointer<HWND__> hWnd,
  2. Pointer<Uint64> lpdwProcessId
)

Implementation

int GetWindowThreadProcessId(
  ffi.Pointer<HWND__> hWnd,
  ffi.Pointer<ffi.Uint64> lpdwProcessId,
) {
  return (_GetWindowThreadProcessId ??= _dylib.lookupFunction<
      _c_GetWindowThreadProcessId,
      _dart_GetWindowThreadProcessId>('GetWindowThreadProcessId'))(
    hWnd,
    lpdwProcessId,
  );
}