Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns an identifier for the current context that is unique within the scheduler to which the current context belongs.
_CRTIMP static unsigned int __cdecl Id();
Return Value
If the current context is attached to a scheduler, an identifier for the current context that is unique within the scheduler to which the current context belongs; otherwise, the value -1.
Requirements
Header: concrt.h
Namespace: Concurrency