Win32 API call GetMonitorInfo returns incorrect workarea rectangle

Description

The GetMonitorInfo API call can be used to determine a monitors' screensize and also it's active workarea.

I have noticed that my Windows XP SP2 Guest is returning the same values for screensize and active workarea. This is incorrect since the workarea should be smaller than the screensize due to the existence of a taskbar.

Change History

The GetMonitorInfo API call can be used to determine a monitors' screensize and also it's active workarea.

I have noticed that my Windows XP SP2 Guest is returning the same values for screensize and active workarea. This is incorrect since the workarea should be smaller than the screensize due to the existence of a taskbar.

This bug can be closed and marked as invalid.

In 'Taskbar and Start Menu properties' the checkbox 'Keep the taskbar on top of other windows' was unticked.
GetMonitorInfo gave correct information once this checkbox was ticked...