microsoft / win32metadata

Tooling to generate metadata for Win32 APIs in the Windows SDK.
Other
1.32k stars 113 forks source link

Make GDI+ private types opaque #1904

Closed riverar closed 3 months ago

riverar commented 3 months ago

Fixes: #1821

Updates GDI+ private classes in metadata from NativeTypeDefs with a single pointer-sized field to opaque empty structs for better accuracy and proper handling.

riverar commented 3 months ago

@AArnott If you'd like to run this through CsWin32, here's a winmd: artifact.zip

mikebattista commented 3 months ago

Will merge pending approval from @AArnott.

AArnott commented 3 months ago

I tested CsWin32 with this winmd, and full generation produces compilable code. I sign off.