GenerateConsoleCtrlEvent.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

GenerateConsoleCtrlEvent (KERNEL32.@)

SYNOPSIS

BOOL GenerateConsoleCtrlEvent
 (
  DWORD dwCtrlEvent,
  DWORD dwProcessGroupID
 )

DESCRIPTION

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

Defined in "wincon.h".

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

Debug channel "console".