pub type EngCreatePalette = unsafe extern "system" fn(imode: u32, ccolors: u32, pulcolors: *mut u32, flred: u32, flgreen: u32, flblue: u32) -> HPALETTE;