Skip to content
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

Add a static readonly Guid field to COM structs #712

Merged
merged 1 commit into from
Oct 8, 2022
Merged

Add a static readonly Guid field to COM structs #712

merged 1 commit into from
Oct 8, 2022

Conversation

AArnott
Copy link
Member

@AArnott AArnott commented Oct 7, 2022

Adds a field like this to structs that represent COM interfaces:

/// <summary>The IID guid for this interface.</summary>
/// <value>{00000101-0000-0000-c000-000000000046}</value>
internal static readonly Guid Guid = new Guid(0x00000101, 0x0000, 0x0000, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);

Closes #711

@AArnott AArnott merged commit 471a4d7 into main Oct 8, 2022
@AArnott AArnott deleted the fix711 branch October 8, 2022 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add IID guids that don't use strings for construction.
1 participant