Use SystemParametersInfoForDpi when this function is available and the DPI is known. Otherwise keep using SystemParametersInfo.