Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

MONITORINFO struct mixed up #520

Closed
AlexanderTaeschner opened this issue Jul 20, 2020 · 0 comments · Fixed by #521
Closed

MONITORINFO struct mixed up #520

AlexanderTaeschner opened this issue Jul 20, 2020 · 0 comments · Fixed by #521
Assignees
Labels

Comments

@AlexanderTaeschner
Copy link

The struct User32.MONITORINFO defined at

public struct MONITORINFO
{
public int cbSize;
public uint dwFlags;
public RECT rcMonitor;
public RECT rcWork;
}
is mixed up according to https://docs.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-monitorinfo. The field dwFlags should be the last one.

@AArnott AArnott self-assigned this Jul 21, 2020
AArnott added a commit that referenced this issue Jul 21, 2020
It had fields in the wrong order. So while I was making breaking changes to make the API work, I fixed up some surrounding areas.

Fixes #520
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants