Author Topic: [Bug] Peculiar SystemParametersInfo API  (Read 1205 times)

fixer

  • Administrator
  • Hero Member
  • *****
  • Posts: 1581
[Bug] Peculiar SystemParametersInfo API
« on: June 26, 2017, 10:44:52 am »
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.