swift
b05c218e - [WinSDK] Add more apinotes for WinSDK constants (#94438)

Commit
14 hours ago
[WinSDK] Add more apinotes for WinSDK constants (#94438) This adds a lot more apinotes for WinSDK constants, making their use in Swift more ergonomic. These were found while building an internal app that relies heavily on WinSDK constants. Note that some use remains less than ideal with Swift due to inconsistencies in the way the Win32 API defines some function parameters and return types. These inconsistencies still force explicit casts in Swift. `WS_OVERLAPPEDWINDOW` and `WS_POPUPWINDOW` still come from the Swift overlay as `UINT` because their macro bodies are too complex for the importer, so their `DWORD` entries here are inert. Follows up on #91001. LLM-aided with Claude Code
Author
Parents
Loading