search for: ctrl_c_event

Displaying 3 results from an estimated 3 matches for "ctrl_c_event".

2008 Jan 20
0
Ctrl handler makes Ruby crash
...en-us/library/ms685049(VS.85).aspx require ''windows/console'' require ''windows/sound'' include Windows::Console include Windows::Sound CtrlHandler = Win32::API::Callback.new(''L'', ''I''){ |ctrl_type| case ctrl_type when CTRL_C_EVENT puts "Ctrl-C event" Beep(750, 300) return true when CTRL_CLOSE_EVENT Beep(600, 200) puts "Ctrl-Close event" return true when CTRL_BREAK_EVENT Beep(900, 200) puts "Ctrl-Break event&...
2004 Nov 20
0
SIGINT in win32-process
Hi all, I banged my head all day trying to make SIGINT work like you would expect on Win32, to no avail. The goal is to allow the user to send a SIGINT (i.e. CTRL_C_EVENT) to a remote process. I tried a CreateRemoteThread() + GenerateConsoleCtrlEvent() approach with no luck. I also found this bit of code: http://www.mit.edu/afs/athena.mit.edu/contrib/xemacs/src/xemacs-21.4.4/src/process-nt.c But, I can''t seem to make it, or my own attempts, work. For...
2020 Sep 11
0
Wine release 5.17
...to kernelbase. kernel32/tests: Skip more FreeConsole tests on win7. server: Introduce IOCTL_CONDRV_CTRL_EVENT ioctl. kernelbase: Use IOCTL_CONDRV_CTRL_EVENT in GenerateConsoleCtrlEvent. server: Support IOCTL_CONDRV_CTRL_EVENT on console server handles. conhost: Support CTRL_C_EVENT in write_console_input. conhost: Initialize tty output. conhost: Support setting tty title in set_console_title. conhost/tests: Add initial tty tests. conhost: Synchronize tty cursor position in set_output_info. conhost: Support tty output in write_output. conhos...