[DllImport("kernel32.dll")]
[return: MarshalAs(UnmanagedType.Bool)]
static extern bool GenerateConsoleCtrlEvent(uint dwCtrlEvent,
uint dwProcessGroupId);
<DllImport("Kernel32")> Public Shared sub GenerateConsoleCtrlEvent(ByVal dwCtrlEvent As Short, ByVal dwProcessGroupId As Short)
None.
public const UInt32 CTRL_C_EVENT = 0;
public const UInt32 CTRL_BREAK_EVENT = 1;
Please add some!
Please add some!
Do you know one? Please contribute it!