`AdjustWindowExForDpi` expects `WINDOW_STYLE` and `WINDOW_EX_STYLE`, but `CREATESTRUCTW` only provides `i32` and `u32` respectively. Fixed #1859.

This commit is contained in:
Mike Battista 2024-03-04 11:17:52 -08:00
Родитель f56f285dd4
Коммит d1702f3d2b
3 изменённых файлов: 15 добавлений и 0 удалений

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

@ -1799,3 +1799,5 @@ IShellFolder::CompareIDs=[CanReturnMultipleSuccessValues]
WriteConsoleA::lpBuffer=PSTR
WriteConsoleW::lpBuffer=PWSTR
PopIoRingCompletion=[CanReturnMultipleSuccessValues]
CREATESTRUCTA::style=[AssociatedEnum("WINDOW_STYLE")]
CREATESTRUCTW::style=[AssociatedEnum("WINDOW_STYLE")]

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

@ -988,6 +988,14 @@
{
"method": "AdjustWindowRectExForDpi",
"parameter": "dwExStyle"
},
{
"struct": "CREATESTRUCTA",
"field": "dwExStyle"
},
{
"struct": "CREATESTRUCTW",
"field": "dwExStyle"
}
]
},

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

@ -8,3 +8,8 @@ Windows.Win32.System.WinRT.Composition.ICompositorInterop2.CreateCompositionText
# Fixed #1856.
Windows.Win32.Media.Audio.IMMDevice.GetState : pdwState...UInt32* => DEVICE_STATE*
Windows.Win32.Media.Audio.IMMDevice.GetState : return...DEVICE_STATE => HRESULT
# Fixed #1859.
Windows.Win32.UI.WindowsAndMessaging.CREATESTRUCTA.dwExStyle...System.UInt32 => Windows.Win32.UI.WindowsAndMessaging.WINDOW_EX_STYLE
Windows.Win32.UI.WindowsAndMessaging.CREATESTRUCTA.style : => [AssociatedEnum(WINDOW_STYLE)]
Windows.Win32.UI.WindowsAndMessaging.CREATESTRUCTW.dwExStyle...System.UInt32 => Windows.Win32.UI.WindowsAndMessaging.WINDOW_EX_STYLE
Windows.Win32.UI.WindowsAndMessaging.CREATESTRUCTW.style : => [AssociatedEnum(WINDOW_STYLE)]