ReplaceText function Null safety comdlg32

int ReplaceText(
  1. Pointer<FINDREPLACE> param0
)

Creates a system-defined modeless dialog box that lets the user specify a string to search for and a replacement string, as well as options to control the find and replace operations.

HWND ReplaceTextW(
  LPFINDREPLACEW Arg1
);

Implementation

int ReplaceText(Pointer<FINDREPLACE> param0) {
  final _ReplaceText = _comdlg32.lookupFunction<
      IntPtr Function(Pointer<FINDREPLACE> param0),
      int Function(Pointer<FINDREPLACE> param0)>('ReplaceTextW');
  return _ReplaceText(param0);
}