FindText function Null safety comdlg32

int FindText(
  1. Pointer<FINDREPLACE> param0
)

Creates a system-defined modeless Find dialog box that lets the user specify a string to search for and options to use when searching for text in a document.

HWND FindTextW(
  LPFINDREPLACEW Arg1
);

Implementation

int FindText(Pointer<FINDREPLACE> param0) {
  final _FindText = _comdlg32.lookupFunction<
      IntPtr Function(Pointer<FINDREPLACE> param0),
      int Function(Pointer<FINDREPLACE> param0)>('FindTextW');
  return _FindText(param0);
}