RFR: 8185862: AWT Assertion Failure in ::GetDIBits(hBMDC, hBM, 0, 1, 0, gpBitmapInfo, 0) 'awt_Win32GraphicsDevice.cpp', at line 185 [v2]

Alexey Ivanov aivanov at openjdk.org
Fri Feb 16 11:05:54 UTC 2024


On Fri, 16 Feb 2024 08:42:28 GMT, Christoph Langer <clanger at openjdk.org> wrote:

>> Right, that's what's written. But (in the documentation,) the function is declared as `BOOL GetMonitorInfoW...`. So I could epxect return values of TRUE/FALSE, no?
>
> Addressed.

> So I could epxect return values of TRUE/FALSE, no?

Likely, yes… But `BOOL` is `int` in disguise and can have other values…

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/17614#discussion_r1492306729


More information about the client-libs-dev mailing list