pub type IsThemePartDefined = unsafe extern "system" fn(htheme: HTHEME, ipartid: i32, istateid: i32) -> BOOL;