[Bug] Peculiar SystemParametersInfo API

Started by fixer, June 26, 2017, 10:44:52 AM

Previous topic - Next topic

fixer

Sometimes SystemParametersInfo API with SPI_GETWORKAREA parameter returns unexpected results, i.e. wrong values that don't honor taskbar. I wasn't able to pinpoint exact conditions for this to happen, it seems random. Neither I bothered to debug kernel as eventually I changed to other APIs. But looks like it returns information straight from monitor internal structure. I guess sometimes it's not correctly updated. If anyone took a look into the root of this, I'd be grateful for information for the sake of completeness.

This issue was found several months ago, it wasn't fixed then. I haven't checked it since.