PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns or modifies the priority of an application currently run.
Example
// Sélection de l'application à manipuler
nIndice is int = TableSelect(TABLE_Table1)
IF nIndice <> -1 THEN
// Priorité de l'application sélectionnée?
i is int = ExePriority(TABLE_Table1.PID[nIndice])
SWITCH i
CASE exeLowPriority
Info("Priorité basse")
CASE exeHighPriority
Info("Priorité haute")
CASE exeBelowNormalPriority
Info("Priorité inférieure à la normale")
CASE exeNormalPriority
Info("Priorité normale")
CASE exeAboveNormalPriority
Info("Priorité supérieure à la normale")
CASE exeRealTimePriority
Info("Priorité temps réel")
END
END
Syntax

Modifying the priority of an application currently run Hide the details

ExePriority(<Application identifier> , <New priority>)
<Application identifier>: Integer constant
Identifier of the application to use. This identifier is returned by ExeListProcess.
<New priority>: Integer constant
New priority for the specified application:
exeLowPriorityLow priority.
exeHighPriorityHigh priority.
exeBelowNormalPriorityPriority greater than exeLowPriority and less than exeNormalPriority
This constant is available for Windows 2000 and XP.
exeNormalPriorityPriority higher than exeBelowNormalPriority and lower than exeAboveNormalPriority.
exeAboveNormalPriorityPriority higher than exeNormalPriority and lower than exeRealTimePriority.
This constant is available for Windows 2000 and XP.

Finding out the priority of an application currently run Hide the details

<Result> = ExePriority(<Application identifier>)
<Result>: Integer constant
Priority of the specified application:
exeLowPriorityLow priority
exeHighPriorityHigh priority
exeBelowNormalPriorityPriority greater than exeLowPriority and less than exeNormalPriority.
This constant is available for Windows 2000 and XP.
exeNormalPriorityPriority higher than exeBelowNormalPriority and lower than exeAboveNormalPriority.
exeAboveNormalPriorityPriority higher than exeNormalPriority and lower than exeRealTimePriority.
This constant is available for Windows 2000 and XP.
exeRealTimePriorityReal-time priority.
<Application identifier>: Integer constant
Identifier of the application to use. This identifier is returned by ExeListProcess.
Business / UI classification: Business Logic
Component: wd270std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment