GetExecutionContextId Function

Returns a unique identifier that can be assigned to an execution context that implements the IExecutionContext interface.

unsigned int __cdecl GetExecutionContextId();

Return Value

A unique identifier for an execution context.


Use this method to obtain an identifier for your execution context before you pass an IExecutionContext interface as a parameter to any of the methods offered by the Resource Manager.


Header: concrtrm.h

Namespace: concurrency

See Also


concurrency Namespace