FindWindowA method

Pointer<HWND__> FindWindowA(
  1. Pointer<Int8> lpClassName,
  2. Pointer<Int8> lpWindowName
)

Implementation

ffi.Pointer<HWND__> FindWindowA(
  ffi.Pointer<ffi.Int8> lpClassName,
  ffi.Pointer<ffi.Int8> lpWindowName,
) {
  return (_FindWindowA ??= _dylib
      .lookupFunction<_c_FindWindowA, _dart_FindWindowA>('FindWindowA'))(
    lpClassName,
    lpWindowName,
  );
}