Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

ThreadPriority (Enums)
 
.
Summary

Summary:

Used with GetThreadPriority and SetThreadPriority.

C# Definition:

enum ThreadPriority
enum PInvokeThreadPriority
{
    THREAD_MODE_BACKGROUND_BEGIN = 0x00010000,
    THREAD_MODE_BACKGROUND_END = 0x00020000,
    THREAD_PRIORITY_ABOVE_NORMAL = 1,
    THREAD_PRIORITY_BELOW_NORMAL = -1,
    THREAD_PRIORITY_HIGHEST = 2,
    THREAD_PRIORITY_IDLE = -15,
    THREAD_PRIORITY_LOWEST = -2,
    THREAD_PRIORITY_NORMAL = 0,
    THREAD_PRIORITY_TIME_CRITICAL = 15
}

}

VB.NET Definition:

Enum ThreadPriority
Enum PInvokeThreadPriority
    THREAD_MODE_BACKGROUND_BEGIN = &H10000
    THREAD_MODE_BACKGROUND_END = &H20000
    THREAD_PRIORITY_ABOVE_NORMAL = 1
    THREAD_PRIORITY_BELOW_NORMAL = -1
    THREAD_PRIORITY_HIGHEST = 2
    THREAD_PRIORITY_IDLE = -15
    THREAD_PRIORITY_LOWEST = -2
    THREAD_PRIORITY_NORMAL = 0
    THREAD_PRIORITY_TIME_CRITICAL = 15
End Enum

Documentation
 

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it!

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions