pub type EndBufferedPaint = unsafe extern "system" fn(hbufferedpaint: isize, fupdatetarget: BOOL) -> HRESULT;