다음을 통해 공유


THREADPROPERTY_FIELDS

Specifies what information about a thread is to be retrieved.

enum enum_THREADPROPERTY_FIELDS { 
   TPF_ID           = 0x0001,
   TPF_SUSPENDCOUNT = 0x0002,
   TPF_STATE        = 0x0004,
   TPF_PRIORITY     = 0x0008,
   TPF_NAME         = 0x0010,
   TPF_LOCATION     = 0x0020,
   TPF_ALLFIELDS    = 0xffffffff
};
typedef DWORD THREADPROPERTY_FIELDS;
public enum enum_THREADPROPERTY_FIELDS { 
   TPF_ID           = 0x0001,
   TPF_SUSPENDCOUNT = 0x0002,
   TPF_STATE        = 0x0004,
   TPF_PRIORITY     = 0x0008,
   TPF_NAME         = 0x0010,
   TPF_LOCATION     = 0x0020,
   TPF_ALLFIELDS    = 0xffffffff
};

Members

  • TPF_ID
    Initialize/use the dwThreadId field of the THREADPROPERTIES structure.

  • TPF_SUSPENDCOUNT
    Initialize/use the dwSuspendCount field of the THREADPROPERTIES structure.

  • TPF_STATE
    Initialize/use the dwThreadState field of the THREADPROPERTIES structure.

  • TPF_PRIORITY
    Initialize/use the bstrPriority field of the THREADPROPERTIES structure.

  • TPF_NAME
    Initialize/use the bstrName field of the THREADPROPERTIES structure.

  • TPF_LOCATION
    Initialize/use the bstrLocation field of the THREADPROPERTIES structure.

  • TPF_ALLFIELDS
    Specifies all fields.

Remarks

These values are passed as an argument to the IDebugThread2::GetThreadProperties method to indicate which fields of the THREADPROPERTIES structure are to be initialized.

These values are also used in dwFields member of the THREADPROPERTIES structure to indicate which fields are used and valid.

These flags may be combined with a bitwise OR.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

Enumerations (Visual Studio Debugging)

THREADPROPERTIES

IDebugThread2::GetThreadProperties