Await any WinRT IAsyncOperation<T> and convert the raw result buffer/pointer
via readResult(op).
When options.completedHandlerIid is provided, attaches a free-threaded
IAsyncOperationCompletedHandler<T> (put_Completed, zero polling); otherwise
falls back to lightweight IAsyncInfo::get_Status polling.
Takes ownership of opAddr and closes/releases it after reading results.
Await any WinRT
IAsyncOperation<T>and convert the raw result buffer/pointer viareadResult(op).When
options.completedHandlerIidis provided, attaches a free-threadedIAsyncOperationCompletedHandler<T>(put_Completed, zero polling); otherwise falls back to lightweightIAsyncInfo::get_Statuspolling.Takes ownership of
opAddrand closes/releases it after reading results.