GenerateConsoleCtrlEvent(3w)

GenerateConsoleCtrlEvent3w

Usage

BOOL GenerateConsoleCtrlEvent
(
DWORD dwCtrlEvent,
DWORD dwProcessGroupID
)

Overview

GenerateConsoleCtrlEvent [KERNEL32.@] Simulate a CTRL-C or CTRL-BREAK.

Params

dwCtrlEvent [In] Type of event.

dwProcessGroupID [In] Process group Id to send event to.

Returns

Success: TRUE

Failure: FALSE (and *should* [but doesn't] set LastError)

Implementation

Declared in "wincon.h".

Implemented in "dlls/kernel32/console.c".

Debug channel "console".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.