search for: generateconsolectrlevent

Displaying 4 results from an estimated 4 matches for "generateconsolectrlevent".

2006 May 12
0
win32-process 0.4.0 - SIGINT/SIGBRK not working
...4:in `kill'' from (irb):2 irb(main):003:0> ==== When calling SIGINT it didn''t return anything: irb(main):003:0> Process.kill("SIGINT", 3380) => [] It only work when doing SIGKILL, something isn''t graceful for the child process. Diggin a bit, GenerateConsoleCtrlEvent always return 0, but if you check GetLastError, was 87: Error: 87 The parameter is incorrect. I do the same call from FreeBASIC to check it, passed the right PID form the running ruby process, and that was the result. According to MSDN docs, you only could send the GenerateConsoleCtrlEvent to des...
2012 Mar 04
2
NUT Two Apc UPSes on Windows
...FW:COM 03.0 / UPS 03.1 - Serial Number: AS1026662626 ... idVendor: 051Dh idProduct: 0003h ... --- TestLibUsb --- and tested them with usbhid-ups -a ups1 or usbhid-ups -a ups2. Moreover, the parameter productid included in the specs in ups.conf caused error: "GenerateConsoleCtrlEvent error : 87". Issuing usbhid-ups -a ups1 or usbhid-ups -a ups2 works, but 1. exclusively - I can see only one UPS at a time (trying to run second ups while the first is running gives: "Can't claim USB device [051d:0003]: libusb0-dll:err [claim_interface] could not claim interface 0...
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 further clarification, here is what I''m trying to accomplish. Start th...
2020 Sep 11
0
Wine release 5.17
..._CONDRV_FILL_OUTPUT. conhost: Implement IOCTL_CONDRV_SCROLL. kernelbase: Move KERNEL32_CONSOLE_ALLOC handling 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: Synch...