pub type WindowStatePerFunc = *mut WindowStatePerFuncData;