Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DispatchState Structure

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The DispatchState structure is used to transfer state to the IExecutionContext::Dispatch method. It describes the circumstances under which the Dispatch method is invoked on an IExecutionContext interface.

struct DispatchState;

Public Constructors

NameDescription
DispatchState::DispatchState ConstructorConstructs a new DispatchState object.

Public Data Members

NameDescription
DispatchState::m_dispatchStateSize Data MemberSize of this structure, which is used for versioning.
DispatchState::m_fIsPreviousContextAsynchronouslyBlocked Data MemberTells whether this context has entered the Dispatch method because the previous context asynchronously blocked. This is used only on the UMS scheduling context, and is set to the value 0 for all other execution contexts.
DispatchState::m_reserved Data MemberBits reserved for future information passing.

DispatchState

Header: concrtrm.h

Namespace: concurrency

Constructs a new DispatchState object.

DispatchState();

Size of this structure, which is used for versioning.

unsigned long m_dispatchStateSize;

Tells whether this context has entered the Dispatch method because the previous context asynchronously blocked. This is used only on the UMS scheduling context, and is set to the value 0 for all other execution contexts.

unsigned int m_fIsPreviousContextAsynchronouslyBlocked : 1;

Bits reserved for future information passing.

unsigned int m_reserved : 31;

concurrency Namespace

Show:
© 2017 Microsoft