 	DetectHiddenWindows, Off
 	return Height
 	}
+	DoWOw64Revert(disableRedirect, oldRedirectionValue)
+	{
+		if (disableRedirect && oldRedirectionValue)
+		DllCall("Wow64RevertWow64FsRedirection", "Ptr", oldRedirectionValue)
+	}
 	}
 
 


						if (retVal == 2)
						{
							if (disableRedirect && oldRedirectionValue)
							DllCall("Wow64RevertWow64FsRedirection", "Ptr", oldRedirectionValue)
						return "Cancelled!"
						}


		sleep, % (!PrgIntervalLnch)? 2000: (PrgIntervalLnch == -1)? 4000: 6000
		targMonitorNum := PrgMonToRn[lnchPrgIndex]

		StoreFetchPrgRes(1, lnchPrgIndex, PrgLnkInf, targMonitorNum)
		}
		else
		{
		lnchPrgIndex := -PrgBatchIni%btchPrgPresetSel%[batchPrgStatus]
		temp := PrgChoicePaths[-lnchPrgIndex]
		targMonitorNum := PrgMonToRn[-lnchPrgIndex]
		}
	; save current res to def
	CopyToFromRes(targMonitorNum, 1)
	lnchStat := 1

	strRetVal := LnchPrgOff(batchPrgStatus, lnchStat, temp, PrgLnkInf, PrgResolveShortcut, currBatchno, lnchPrgIndex, PrgCmdLine, iDevNumArray, PrgMonPID, PrgRnMinMax, PrgRnPriority, PrgBordless, borderToggle, targMonitorNum, PrgPID, PrgListPID%btchPrgPresetSel%, btchPowerNames[btchPrgPresetSel])
