Skip to content

Commit c1f5776

Browse files
committed
Update
1 parent 8e6f41d commit c1f5776

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/Files.App.CsWin32/ComPtr`1.cs

-12
Original file line numberDiff line numberDiff line change
@@ -91,18 +91,6 @@ public readonly HRESULT CoCreateInstance(Guid* rclsid, IUnknown* pUnkOuter = nul
9191
return PInvoke.CoCreateInstance(rclsid, pUnkOuter, dwClsContext, (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in T.Guid)), (void**)this.GetAddressOf());
9292
}
9393

94-
[MethodImpl(MethodImplOptions.AggressiveInlining)]
95-
public readonly HRESULT GetAgileReference(ref ComPtr<IAgileReference> pAgileReference)
96-
{
97-
return PInvoke.RoGetAgileReference(AgileReferenceOptions.AGILEREFERENCE_DEFAULT, (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in T.Guid)), (IUnknown*)_ptr, pAgileReference.GetAddressOf());
98-
}
99-
100-
[MethodImpl(MethodImplOptions.AggressiveInlining)]
101-
public readonly HRESULT ResolveAgileReference(ref ComPtr<IAgileReference> pAgileReference, ref ComPtr<T> other)
102-
{
103-
return pAgileReference.Get()->Resolve((Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in T.Guid)), (void**)other.GetAddressOf());
104-
}
105-
10694
// Conversion operators
10795

10896
[MethodImpl(MethodImplOptions.AggressiveInlining)]

0 commit comments

Comments
 (0)