user32: Unimplemented SystemParametersInfoW actions display fixme only once.

This commit is contained in:
Paul Chitescu 2008-11-07 22:16:32 +02:00 committed by Alexandre Julliard
parent 9d15a99a10
commit fb6b40cc60
1 changed files with 8 additions and 1 deletions

View File

@ -1186,7 +1186,14 @@ BOOL WINAPI SystemParametersInfoW( UINT uiAction, UINT uiParam,
{ {
#define WINE_SPI_FIXME(x) \ #define WINE_SPI_FIXME(x) \
case x: \ case x: \
FIXME( "Unimplemented action: %u (%s)\n", x, #x ); \ { \
static BOOL warn = TRUE; \
if (warn) \
{ \
warn = FALSE; \
FIXME( "Unimplemented action: %u (%s)\n", x, #x ); \
} \
} \
SetLastError( ERROR_INVALID_SPI_VALUE ); \ SetLastError( ERROR_INVALID_SPI_VALUE ); \
ret = FALSE; \ ret = FALSE; \
break break