Skip to content

Conversation

@AaronRobinsonMSFT
Copy link
Member

@AaronRobinsonMSFT AaronRobinsonMSFT commented Apr 9, 2020

If the managed object wrapper doesn't know about the IID but implements ICustomQueryInterface, ask the implementation to find the interface.

Fixes #34717

/cc @jkoritzinsky @elinor-fung @jkotas @davidwrighton

…object wrapper

 doesn't know about the IID but implements the interface.
@AaronRobinsonMSFT AaronRobinsonMSFT changed the title ComWrappers Add support for ICustomQueryInterface ComWrappers: Add support for ICustomQueryInterface Apr 9, 2020
@AaronRobinsonMSFT AaronRobinsonMSFT added the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Apr 9, 2020
@AaronRobinsonMSFT AaronRobinsonMSFT removed the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Apr 9, 2020
…runtime.

This means we can no longer assume we are in preemptive mode during the QI.
Update the ICustomQueryInterface dispatch to be okay with ANY mode.

Tests needed to be updated with the ICustomQueryInterface support.
@ghost
Copy link

ghost commented Apr 10, 2020

Hello @AaronRobinsonMSFT!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@AaronRobinsonMSFT
Copy link
Member Author

These changes are limited to the Windows platforms so merging.

@AaronRobinsonMSFT AaronRobinsonMSFT merged commit e755ce1 into dotnet:master Apr 10, 2020
@AaronRobinsonMSFT AaronRobinsonMSFT deleted the runtime_34717 branch April 10, 2020 22:31
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ComWrappers should support ICustomQueryInterface for Managed Object Wrappers

3 participants