Scroll to navigation

GenerateConsoleCtrlEvent(3w) Wine API GenerateConsoleCtrlEvent(3w)

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

Declared in "wincon.h".
Implemented in "dlls/kernel32/console.c".
Debug channel "console".
Oct 2012 Wine API