partly implement animations GET/SET spi, the value are store, but win32k ignore them
authorMagnus Olsen <magnus@greatlord.com>
Sun, 29 Jul 2007 15:55:09 +0000 (15:55 +0000)
committerMagnus Olsen <magnus@greatlord.com>
Sun, 29 Jul 2007 15:55:09 +0000 (15:55 +0000)
svn path=/trunk/; revision=28010

reactos/subsystems/win32/win32k/ntuser/misc.c

index 38cf5d0..61c00d2 100644 (file)
@@ -939,6 +939,7 @@ IntSystemParametersInfo(
    static BOOL GradientCaptions = TRUE;
    static UINT FocusBorderHeight = 1;
    static UINT FocusBorderWidth = 1;
+   static ANIMATIONINFO anim;
 
    if (!bInitialized)
    {
@@ -1404,6 +1405,18 @@ IntSystemParametersInfo(
             *((NONCLIENTMETRICSW*)pvParam) = pMetrics;
             break;
          }
+      case SPI_GETANIMATION:
+         {
+            ASSERT(pvParam);
+            *(( ANIMATIONINFO*)pvParam) = anim;
+            break;
+         }
+      case SPI_SETANIMATION:
+         {
+            ASSERT(pvParam);
+            anim = *((ANIMATIONINFO*)pvParam);
+            bChanged = TRUE;
+         }
       case SPI_SETNONCLIENTMETRICS:
          {
             ASSERT(pvParam);