The C++/WinRT library provides an awaiter for Windows Runtime asynchronous activities. Those asynchronous activities are represented by IAsyncAction, IAsyncOperation, and progress versions of the above. The C++/WinRT-provided awaiter resumes execution of the caller in the same COM apartment that awaited the activity. The post C++ coroutines: Awaiting an <CODE>IAsyncAction</CODE> without preserving thread context appeared first on The Old New Thing....