[PATCH] cmd: Add basic handling of Ctrl-C

Nikolay Sivov bunglehead at gmail.com
Thu Mar 26 06:39:12 CDT 2015


On 26.03.2015 14:32, Hugh McMaster wrote:
> +  /* Enable handling of Ctrl-C signals */
> +  if (SetConsoleCtrlHandler((PHANDLER_ROUTINE)console_ctrl_handler, TRUE))
> +      WINE_TRACE("cmd: Ctrl handler was installed.\n");
> +  else
> +      WINE_ERR("cmd: Unable to install Ctrl handler.\n");
> +

Judging by the fact that you needed a cast, that's not right.



More information about the wine-devel mailing list