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