DisableProcessWindowsGhosting function Null safety user32

void DisableProcessWindowsGhosting()

Disables the window ghosting feature for the calling GUI process. Window ghosting is a Windows Manager feature that lets the user minimize, move, or close the main window of an application that is not responding.

void DisableProcessWindowsGhosting();

Implementation

void DisableProcessWindowsGhosting() {
  final _DisableProcessWindowsGhosting =
      _user32.lookupFunction<Void Function(), void Function()>(
          'DisableProcessWindowsGhosting');
  return _DisableProcessWindowsGhosting();
}