pub type GenerateConsoleCtrlEvent = unsafe extern "system" fn(dwctrlevent: u32, dwprocessgroupid: u32) -> BOOL;