public static extern int DwmSetPresentParameters(IntPtr hwnd, [Out] DWM_PRESENT_PARAMETERS pPresentParams);
public static extern int DwmSetPresentParameters(IntPtr hwnd, ref DWM_PRESENT_PARAMETERS pPresentParams);