microsoft / win32metadata

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

DWRITE_PAINT_FEATURE_LEVEL is defined twice with one definition that's wrong #1896

Closed smourier closed 4 months ago

smourier commented 4 months ago

DWRITE_PAINT_FEATURE_LEVEL is defined in Windows.Win32.Graphics.DirectWrite like this:

public enum DWRITE_PAINT_FEATURE_LEVEL
{
    DWRITE_PAINT_FEATURE_LEVEL_NONE,
    DWRITE_PAINT_FEATURE_LEVEL_COLR_V0,
    DWRITE_PAINT_FEATURE_LEVEL_COLR_V1
}

which is correct

and in Windows.Win32.Graphics.Direct2D like this

public enum DWRITE_PAINT_FEATURE_LEVEL
{
    // nothing here.... ???
}

which is incorrect. The latter one should be removed.

riverar commented 4 months ago

Thanks @smourier, should be fixed in the next release.