Export (0) Print
Expand All

WAITCHAIN_NODE_INFO structure

Represents a node in a wait chain.

Syntax


typedef struct _WAITCHAIN_NODE_INFO {
  WCT_OBJECT_TYPE   ObjectType;
  WCT_OBJECT_STATUS ObjectStatus;
  union {
    struct {
      WCHAR         ObjectName[WCT_OBJNAME_LENGTH];
      LARGE_INTEGER Timeout;
      BOOL          Alertable;
    } LockObject;
    struct {
      DWORD ProcessId;
      DWORD ThreadId;
      DWORD WaitTime;
      DWORD ContextSwitches;
    } ThreadObject;
  };
} WAITCHAIN_NODE_INFO, *PWAITCHAIN_NODE_INFO;

Members

ObjectType

The object type. This member is one of the following values from the WCT_OBJECT_TYPE enumeration type.

WctCriticalSectionType
WctSendMessageType
WctMutexType
WctAlpcType
WctComType
WctThreadWaitType
WctProcessWaitType
WctThreadType
WctComActivationType
WctUnknownType
ObjectStatus

The object status. This member is one of the following values from the WCT_OBJECT_STATUS enumeration type.

WctStatusNoAccess
WctStatusRunning
WctStatusBlocked
WctStatusPidOnly
WctStatusPidOnlyRpcss
WctStatusOwned
WctStatusNotOwned
WctStatusAbandoned
WctStatusUnknown
WctStatusError
LockObject
ObjectName

The name of the object. Object names are only available for certain object, such as mutexes. If the object does not have a name, this member is an empty string.

Timeout

This member is reserved for future use.

Alertable

This member is reserved for future use.

ThreadObject
ProcessId

The process identifier.

ThreadId

The thread identifier. For COM and ALPC, this member can be 0.

WaitTime

The wait time.

ContextSwitches

The number of context switches.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Wct.h

See also

GetThreadWaitChain
WaitChainCallback

 

 

Community Additions

ADD
Show:
© 2015 Microsoft