int pascal PostQuitMessage(int exitcode) This function posts a WM_QUIT message to all windows in the system. An application will most likely terminate when it receives this message. Parameters exitcode specifies the application's exit status. It is used as the wParam in the WM_QUIT message. Returns Nothing.