12 references to Attach
PresentationFramework (12)
MS\Internal\WindowsRuntime\Generated\WinRT.cs (2)
156return (hr == 0 ? ObjectReference<IActivationFactoryVftbl>.Attach(ref instancePtr) : null, hr); 214return (hr == 0 ? ObjectReference<IActivationFactoryVftbl>.Attach(ref instancePtr) : null, hr);
MS\Internal\WindowsRuntime\Generated\WinRT\ComWrappersSupport.net5.cs (1)
36return ObjectReference<IUnknownVftbl>.Attach(ref ccw);
MS\Internal\WindowsRuntime\Generated\WinRT\ExceptionHelpers.cs (3)
100IObjectReference restrictedErrorInfoRef = ObjectReference<ABI.WinRT.Interop.IRestrictedErrorInfo.Vftbl>.Attach(ref restrictedErrorInfoPtr); 209using var restrictedErrorRef = ObjectReference<IUnknownVftbl>.Attach(ref ppRestrictedErrorInfo); 315IObjectReference restrictedErrorInfoRef = ObjectReference<ABI.WinRT.Interop.IRestrictedErrorInfo.Vftbl>.Attach(ref restrictedErrorInfoPtr);
MS\Internal\WindowsRuntime\Generated\WinRT\Interop\ExceptionErrorInfo.cs (2)
310return ObjectReference<global::WinRT.Interop.IUnknownVftbl>.Attach(ref __return_value__); 316using var obj = ObjectReference<global::WinRT.Interop.IUnknownVftbl>.Attach(ref __return_value__);
MS\Internal\WindowsRuntime\Generated\WinRT\Marshalers.cs (1)
776ObjectReference<WinRT.Interop.IUnknownVftbl>.Attach(ref ptr).Dispose();
MS\Internal\WindowsRuntime\Generated\WinRT\ObjectReference.cs (3)
56return ObjectReference<T>.Attach(ref thatPtr); 68objRef = ObjectReference<T>.Attach(ref thatPtr); 236var contextCallback = new ABI.WinRT.Interop.IContextCallback(ObjectReference<ABI.WinRT.Interop.IContextCallback.Vftbl>.Attach(ref contextCallbackPtr));