ThreadPriorities Enum, Member of ScriptUtils

Member of  ScriptUtils Use ThreadPriorities object | Changes | Purchase | Download

Description

Priority values for the thread.

Values

tpIdle = &HFFFFFFF1-15  Lowest thread priority
tpLowest = &HFFFFFFFE-2  Indicates 2 points below normal priority for the priority class.
tpBellowNormal = &HFFFFFFFF-1  Indicates 1 point below normal priority for the priority class.
tpNormal = &H0 Indicates normal priority for the priority class.
tpAboveNormal = &H1  Indicates 1 point above normal priority for the priority class.
tpHighest = &H2 Indicates 2 points above normal priority for the priority class.
tpTimeCritical = &HF15  Indicates a base-priority level of 15.

Includes

VBS include

'ThreadPriorities - begin
Public Const tpIdle = &HFFFFFFF1 'Lowest thread priority
Public Const tpLowest = &HFFFFFFFE 'Indicates 2 points below normal priority for the priority class.
Public Const tpBellowNormal = &HFFFFFFFF 'Indicates 1 point below normal priority for the priority class.
Public Const tpNormal = &H0 'Indicates normal priority for the priority class.
Public Const tpAboveNormal = &H1 ' Indicates 1 point above normal priority for the priority class.
Public Const tpHighest = &H2 'Indicates 2 points above normal priority for the priority class.
Public Const tpTimeCritical = &HF 'Indicates a base-priority level of 15.
'ThreadPriorities - end

VB4 include

'ThreadPriorities - begin
Public Const tpIdle As Long = &HFFFFFFF1 'Lowest thread priority
Public Const tpLowest As Long = &HFFFFFFFE 'Indicates 2 points below normal priority for the priority class.
Public Const tpBellowNormal As Long = &HFFFFFFFF 'Indicates 1 point below normal priority for the priority class.
Public Const tpNormal As Long = &H0 'Indicates normal priority for the priority class.
Public Const tpAboveNormal As Long = &H1 ' Indicates 1 point above normal priority for the priority class.
Public Const tpHighest As Long = &H2 'Indicates 2 points above normal priority for the priority class.
Public Const tpTimeCritical As Long = &HF 'Indicates a base-priority level of 15.
'ThreadPriorities - end

VB5 include

Public Enum ThreadPriorities
  tpIdle = &HFFFFFFF1 'Lowest thread priority
  tpLowest = &HFFFFFFFE 'Indicates 2 points below normal priority for the priority class.
  tpBellowNormal = &HFFFFFFFF 'Indicates 1 point below normal priority for the priority class.
  tpNormal = &H0 'Indicates normal priority for the priority class.
  tpAboveNormal = &H1 ' Indicates 1 point above normal priority for the priority class.
  tpHighest = &H2 'Indicates 2 points above normal priority for the priority class.
  tpTimeCritical = &HF 'Indicates a base-priority level of 15.
End Enum 'ThreadPriorities

JScript include

//ThreadPriorities - begin
var tpIdle = 0xFFFFFFF1; //Lowest thread priority
var tpLowest = 0xFFFFFFFE; //Indicates 2 points below normal priority for the priority class.
var tpBellowNormal = 0xFFFFFFFF; //Indicates 1 point below normal priority for the priority class.
var tpNormal = 0x0; //Indicates normal priority for the priority class.
var tpAboveNormal = 0x1; // Indicates 1 point above normal priority for the priority class.
var tpHighest = 0x2; //Indicates 2 points above normal priority for the priority class.
var tpTimeCritical = 0xF; //Indicates a base-priority level of 15.
//ThreadPriorities - end

IDL include

// ThreadPriorities
typedef [helpcontext(0x2002F), helpstring("Priority values for the thread.")]
enum ThreadPriorities{
	[helpcontext(0x2002F), helpstring("Lowest thread priority")]
		tpIdle = 0xFFFFFFF1,
	[helpcontext(0x2002F), helpstring("Indicates 2 points below normal priority for the priority class.")]
		tpLowest = 0xFFFFFFFE,
	[helpcontext(0x2002F), helpstring("Indicates 1 point below normal priority for the priority class.")]
		tpBellowNormal = 0xFFFFFFFF,
	[helpcontext(0x2002F), helpstring("Indicates normal priority for the priority class.")]
		tpNormal = 0x0,
	[helpcontext(0x2002F), helpstring(" Indicates 1 point above normal priority for the priority class.")]
		tpAboveNormal = 0x1,
	[helpcontext(0x2002F), helpstring("Indicates 2 points above normal priority for the priority class.")]
		tpHighest = 0x2,
	[helpcontext(0x2002F), helpstring("Indicates a base-priority level of 15.")]
		tpTimeCritical = 0xF
} ThreadPriorities;

Used in

Thread.Priority, ASPForm.ThreadPriority

Other links for ThreadPriorities class

ASP file upload and ScriptUtilities classes

Kernel, ByteArray, Process, Thread, Advapi, INIFile, ZLib, LogFile, ASPForm, FormFields, FormField, FormParser, ProgressInfo

ASP file upload and ScriptUtilities enums

ProcessCreationFlags, ThreadPriorities, PriorityClasses, LogonTypes, ConvertCodePages, OutputTypes, ZLibCompressLevels, ConvertTypes, LogLineEncodes, LogLineBeginTypes, FormStates, eFormType

ScriptUtils

Huge ASP upload is easy to use, hi-performance ASP file upload component with progress bar indicator. This component lets you upload multiple files with size up to 4GB to a disk or a database along with another form fields. Huge ASP file upload is a most featured upload component on a market with competitive price and a great performance . The software has also a free version of asp upload with progress, called Pure asp upload , written in plain VBS, without components (so you do not need to install anything on server). This installation package contains also ScriptUtilities library. Script Utilities lets you create hi-performance log files , works with binary data , you can download multiple files with zip/arj compression, work with INI files and much more with the ASP utility.

© 1996 - 2011 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz


Other Motobit links:   IISTracer, real-time IIS monitor   ASP file upload - upload files to ASP. 
ActiveX/VBSScript registry editor  ActiveX NT User account manager  Export MDB/DBF from ASP Active LogFile  Email export  ActiveX/ASP Scripting Dictionary object