PostQuitMessage function Null safety user32

void PostQuitMessage (
  1. int nExitCode
)

Indicates to the system that a thread has made a request to terminate (quit). It is typically used in response to a WM_DESTROY message.

void PostQuitMessage(
  int nExitCode
);

Implementation

void PostQuitMessage(int nExitCode) {
  final _PostQuitMessage = _user32.lookupFunction<
      Void Function(Int32 nExitCode),
      void Function(int nExitCode)>('PostQuitMessage');
  return _PostQuitMessage(nExitCode);
}