Skip to content

Conversation

@0x5bfa
Copy link
Member

@0x5bfa 0x5bfa commented Oct 24, 2024

Resolved / Related Issues

Note

While I settled on this method to QI for now, we may want to use IDynamicInterfaceCastable, which is Hez let me know, after .NET 9 (stack allocation for classes) becomes GA. I need more exploration but this enables us to utilize is and as with QI called implicitly.

Steps used to test these changes

None

@0x5bfa 0x5bfa changed the title Code Quality: Introduced ComPtr.As<U> to QI easily Code Quality: Introduced ComPtr.As to QI easily Oct 24, 2024
@0x5bfa 0x5bfa changed the title Code Quality: Introduced ComPtr.As to QI easily Code Quality: Introduced ComPtr.As() to QI easily Oct 24, 2024
@yaira2 yaira2 requested a review from hez2010 October 27, 2024 01:43
@yaira2 yaira2 added the ready for review Pull requests that are ready for review label Oct 27, 2024
@yaira2 yaira2 added ready to merge Pull requests that are approved and ready to merge and removed ready for review Pull requests that are ready for review labels Nov 4, 2024
@yaira2 yaira2 merged commit 8f46dea into files-community:main Nov 4, 2024
6 checks passed
@0x5bfa 0x5bfa deleted the 5bfa/CQ-ComPtrAs branch November 4, 2024 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready to merge Pull requests that are approved and ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants