microsoft / CsWin32

A source generator to add a user-defined set of Win32 P/Invoke methods and supporting types to a C# project.
MIT License
2.07k stars 87 forks source link

Enable generating IID_IDispatch constant #1138

Open jnm2 opened 7 months ago

jnm2 commented 7 months ago

Looking at #862 it appears you only need it for its guid. We can probably solve that another way. Perhaps by emitting an IID_IDispatch constant or something.

Originally posted by @AArnott in https://github.com/microsoft/CsWin32/issues/861#issuecomment-1440684795