Rémi Bernon (@rbernon) commented about dlls/windows.perception.stub/anchor.c:
- async_SpatialPerceptionAccessStatus_GetResults,
+};
+static HRESULT async_operation_SpatialPerceptionAccessStatus_create( IAsyncOperation_SpatialPerceptionAccessStatus **out ) +{
- struct async_access_status *impl;
- *out = NULL;
- if (!(impl = calloc( 1, sizeof(*impl) ))) return E_OUTOFMEMORY;
- impl->IAsyncOperation_SpatialPerceptionAccessStatus_iface.lpVtbl = &async_SpatialPerceptionAccessStatus_vtbl;
- impl->ref = 1;
- *out = &impl->IAsyncOperation_SpatialPerceptionAccessStatus_iface;
- TRACE( "created IAsyncOperation_SpatialPerceptionAccessStatus_iface %p\n", *out );
- return S_OK;
+}
You should probably reuse the async.c helpers that are copied around in other WinRT modules.