Export (0) Print
Expand All

THREADPROPERTIES 

Describes the properties of a thread.


public struct THREADPROPERTIES { 
   public uint   dwFields;
   public uint   dwThreadId;
   public uint   dwSuspendCount;
   public uint   dwThreadState;
   public string bstrPriority;
   public string bstrName;
   public string bstrLocation;
};

dwFields

A combination of flags from the THREADPROPERTY_FIELDS enumeration, describing which fields in this structure are valid.

dwThreadId

The thread ID.

dwSuspendCount

The thread suspend count.

dwThreadState

A value from the THREADSTATE enumeration indicating the state of the operating thread.

bstrPriority

A string specifying the thread priority; for example, "Above Normal", "Normal", or "Time Critical".

bstName

The thread name.

bstrLocation

The thread location (usually the topmost stack frame), typically expressed as the name of the method where execution is currently halted.

This structure is filled in by a call to the IDebugThread2::GetThreadProperties method. The information so returned is typically used in populating the Threads window.

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

Community Additions

ADD
Show:
© 2014 Microsoft