f28ae9d2
by Vibhav Pant at 2026-06-05T10:19:05+02:00
combase/tests: Add tests for delayed marshaling of objects with apartment affinity.
When RoGetAgileReference is used with AGILEREFERENCE_DELAYEDMARSHAL, the returned IAgileReference
also contains a reference to the apartment/context the object belongs to. Thus, when
IAgileReference::Resolve() gets called, the object will get marshaled inside the owning
apartment/context, not the caller's apartment.