SPI_GETMINIMIZEDMETRICS implemented.

This commit is contained in:
Robert Shearman 2003-01-13 18:29:03 +00:00 committed by Alexandre Julliard
parent a2534ca00f
commit 72e64900c2
1 changed files with 15 additions and 1 deletions

View File

@ -1213,7 +1213,21 @@ BOOL WINAPI SystemParametersInfoA( UINT uiAction, UINT uiParam,
}
WINE_SPI_FIXME(SPI_SETNONCLIENTMETRICS); /* 42 WINVER >= 0x400 */
WINE_SPI_FIXME(SPI_GETMINIMIZEDMETRICS); /* 43 WINVER >= 0x400 */
case SPI_GETMINIMIZEDMETRICS: /* 43 WINVER >= 0x400 */
{
MINIMIZEDMETRICS * lpMm = pvParam;
if (lpMm->cbSize == sizeof(*lpMm))
{
/* these taken from Win2k SP3 */
lpMm->iWidth = 154;
lpMm->iHorzGap = 0;
lpMm->iVertGap = 0;
lpMm->iArrange = 8;
}
else
ret = FALSE;
break;
}
WINE_SPI_FIXME(SPI_SETMINIMIZEDMETRICS); /* 44 WINVER >= 0x400 */
case SPI_GETICONMETRICS: /* 45 WINVER >= 0x400 */