-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ID3DInclude should have a base interface type #349
Comments
This is correct. Some API authors regrettably chose to deviate from COM conventions. This interfaces does not provide a way to control lifetime or interface discovery. There are a few other examples like this in the Windows API. |
Thanks. I guess this means the CLR couldn't produce an RCW for? I wonder what we would do instead. @mikebattista Did we ever create a list of interesting cases so projection authors could verify correct behavior? If so, this API should probably be on it. |
Only blocker is microsoft/win32metadata#349
It's basically a group of callback functions. You presumably already support callbacks like |
I don't know how to ensure that in C#. I could perhaps generate this as a struct as I did for all COM interfaces before adding RCW support, but that further complicates my code gen. |
Are there any changes required in the metadata here? Or is this just a special case that projections need to handle? |
I think there's enough info here - there's not base interface - that's your clue. |
It looks like this is an issue for language projections and not the metadata, so I'm closing it. |
The
ID3DInclude
interface declares no base type:Every(?) other interface ultimately derives from
IUnknown
. Why is this one different? Is this not a COM interface?The text was updated successfully, but these errors were encountered: