This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core.sys.windows.winuser: Provide valid GetMonitorInfo overloads
LDC isn't fooled by using the same mangled name for multiple C function declarations with differing signatures (see DMD bugzilla 15217). In the MS header, the ...EX structs derive from the non-EX ones, so a pointer to an EX struct is implicitly converted to a pointer to the base struct. Provide extern(D) wrappers performing the explicitly required cast in D.
- Loading branch information