News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

pcPriClassBase of PROCESSENTRY32

Started by xandaz, December 05, 2010, 02:46:10 PM

Previous topic - Next topic

xandaz

      Does anyone know what what are the texted names for the values in pcPriClassBase of PROCESSENTRY32? I've tried the usual Flag names but they have different values ( like: HIGH_PRIORITY_CLASS, etc). Someone feel free to reply. Thanks and byebye :dazzled:

dedndave

QuotepcPriClassBase
    Base priority of threads created by this process.

    Value is always THREAD_PRIORITY_NORMAL

http://msdn.microsoft.com/en-us/library/ms886774.aspx

THREAD_PRIORITY_NORMAL=0

if you want to try other values - look up SetThreadPriority, rather than SetPriorityClass

http://msdn.microsoft.com/en-us/library/ms686277%28VS.85%29.aspx

that is a little confusing, as "priority base" is otherwise used to refer to the process base class
the thread values are refered to as "levels" - not "classes"

xandaz