user: Implement Ascii version of SPI_GETDESKWALLPAPER.

This commit is contained in:
Andrew Ziem 2006-07-11 20:22:38 -06:00 committed by Alexandre Julliard
parent 6a15ac7f0a
commit c142bd9115
1 changed files with 8 additions and 0 deletions

View File

@ -2496,6 +2496,14 @@ BOOL WINAPI SystemParametersInfoA( UINT uiAction, UINT uiParam,
break;
}
case SPI_GETDESKWALLPAPER: /* 115 */
{
WCHAR buffer[MAX_PATH];
ret = (SystemParametersInfoW( SPI_GETDESKWALLPAPER, uiParam, buffer, fuWinIni ) &&
WideCharToMultiByte(CP_ACP, 0, buffer, -1, pvParam, uiParam, NULL, NULL));
break;
}
default:
ret = SystemParametersInfoW( uiAction, uiParam, pvParam, fuWinIni );
break;