GetExecutionContextId Function

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

_CRTIMP unsigned int GetExecutionContextId();

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

Community Additions