- 
                Notifications
    You must be signed in to change notification settings 
- Fork 114
Closed
Labels
Description
Currently the COM structs generate members internal:
[Guid("00000000-0000-0000-C000-000000000046")]
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.2.84-beta+43c3f6d060")]
internal unsafe partial struct IUnknown
{
	/// <inheritdoc cref="QueryInterface(global::System.Guid*, void**)"/>
	internal unsafe winmdroot.Foundation.HRESULT QueryInterface(in global::System.Guid riid, out void* ppvObject)
	{If the members are public it allows applying interfaces (notably the nested interface definitions) to the struct, which can allow constraining generic helpers to things like IUnknown.Interface if we (or CsWin32) apply it to the COM structs.
[Guid("00000000-0000-0000-C000-000000000046")]
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.2.84-beta+43c3f6d060")]
internal unsafe partial struct IUnknown : IUnkown.Interface
{
	/// <inheritdoc cref="QueryInterface(global::System.Guid*, void**)"/>