PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns or modifies the priority of an application currently run.
Example
// Select the application to use
nSubscript is int = TableSelect(TABLE_Table1)
IF nSubscript <> -1 THEN
// Priority of the selected application?
i is int = ExePriority(TABLE_Table1.PID[nSubscript])
SWITCH i
CASE exeLowPriority
Info("Low priority")
CASE exeHighPriority
Info("High priority")
CASE exeBelowNormalPriority
Info("Priority less than standard")
CASE exeNormalPriority
Info("Standard priority")
CASE exeAboveNormalPriority
Info("Priority greater than standard")
CASE exeRealTimePriority
Info("Real-time priority")
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 greater than exeBelowNormalPriority and less than exeAboveNormalPriority
exeAboveNormalPriorityPriority greater than exeNormalPriority and less 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 greater than exeBelowNormalPriority and less than exeAboveNormalPriority
exeAboveNormalPriorityPriority greater than exeNormalPriority and less 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.
Components
WINDEVReports and Queries wd230std.dll
Linux wd230std.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment