Support for enum types in CreateFont method instead of casting to uint. Fixed #2009.

This commit is contained in:
Mike Battista 2024-11-07 17:23:42 -05:00
Родитель 23b7f2345a
Коммит 3352e2ee70
2 изменённых файлов: 17 добавлений и 0 удалений

Просмотреть файл

@ -1998,3 +1998,11 @@ UpdatePrintDeviceObject::hPrinter=PRINTER_HANDLE
WaitForPrinterChange::hPrinter=PRINTER_HANDLE
WritePrinter::hPrinter=PRINTER_HANDLE
IContextMenu::QueryContextMenu=[CanReturnMultipleSuccessValues]
CreateFontA::iCharSet=[AssociatedEnum("FONT_CHARSET")]
CreateFontA::iOutPrecision=[AssociatedEnum("FONT_OUTPUT_PRECISION")]
CreateFontA::iClipPrecision=[AssociatedEnum("FONT_CLIP_PRECISION")]
CreateFontA::iQuality=[AssociatedEnum("FONT_QUALITY")]
CreateFontW::iCharSet=[AssociatedEnum("FONT_CHARSET")]
CreateFontW::iOutPrecision=[AssociatedEnum("FONT_OUTPUT_PRECISION")]
CreateFontW::iClipPrecision=[AssociatedEnum("FONT_CLIP_PRECISION")]
CreateFontW::iQuality=[AssociatedEnum("FONT_QUALITY")]

Просмотреть файл

@ -2741,3 +2741,12 @@ Windows.Win32.Security.Cryptography.Catalog.CRYPTCATATTRIBUTE_FLAGS.CRYPTCAT_ATT
Windows.Win32.Security.Cryptography.Catalog.CRYPTCATATTRIBUTE_FLAGS.CRYPTCAT_ATTR_NO_AUTO_COMPAT_ENTRY added
Windows.Win32.Security.Cryptography.Catalog.CRYPTCATATTRIBUTE_FLAGS.CRYPTCAT_ATTR_UNAUTHENTICATED added
Windows.Win32.Security.Cryptography.Catalog.CRYPTCATATTRIBUTE.dwAttrTypeAndAction...System.UInt32 => Windows.Win32.Security.Cryptography.Catalog.CRYPTCATATTRIBUTE_FLAGS
# Support for enum types in CreateFont method instead of casting to uint #2009.
Windows.Win32.Graphics.Gdi.Apis.CreateFontA : iCharSet : [In] => [AssociatedEnum(FONT_CHARSET),In]
Windows.Win32.Graphics.Gdi.Apis.CreateFontA : iClipPrecision : [In] => [AssociatedEnum(FONT_CLIP_PRECISION),In]
Windows.Win32.Graphics.Gdi.Apis.CreateFontA : iOutPrecision : [In] => [AssociatedEnum(FONT_OUTPUT_PRECISION),In]
Windows.Win32.Graphics.Gdi.Apis.CreateFontA : iQuality : [In] => [AssociatedEnum(FONT_QUALITY),In]
Windows.Win32.Graphics.Gdi.Apis.CreateFontW : iCharSet : [In] => [AssociatedEnum(FONT_CHARSET),In]
Windows.Win32.Graphics.Gdi.Apis.CreateFontW : iClipPrecision : [In] => [AssociatedEnum(FONT_CLIP_PRECISION),In]
Windows.Win32.Graphics.Gdi.Apis.CreateFontW : iOutPrecision : [In] => [AssociatedEnum(FONT_OUTPUT_PRECISION),In]
Windows.Win32.Graphics.Gdi.Apis.CreateFontW : iQuality : [In] => [AssociatedEnum(FONT_QUALITY),In]