src/java.desktop/windows/native/libsplashscreen/splashscreen_sys.c
changeset 55189 fdaf7287ea3a
parent 54401 3a217bbdd3a2
equal deleted inserted replaced
55188:e29c0c8ebd90 55189:fdaf7287ea3a
   435 SplashUnlock(Splash * splash)
   435 SplashUnlock(Splash * splash)
   436 {
   436 {
   437     LeaveCriticalSection(&splash->lock);
   437     LeaveCriticalSection(&splash->lock);
   438 }
   438 }
   439 
   439 
   440 void
   440 int
   441 SplashInitPlatform(Splash * splash)
   441 SplashInitPlatform(Splash * splash)
   442 {
   442 {
   443     HDC hdc;
   443     HDC hdc;
   444     int paletteMode;
   444     int paletteMode;
   445 
   445 
   484             initFormat(&splash->screenFormat,
   484             initFormat(&splash->screenFormat,
   485                     0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000);
   485                     0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000);
   486         }
   486         }
   487     }
   487     }
   488     ReleaseDC(NULL, hdc);
   488     ReleaseDC(NULL, hdc);
       
   489     return 1;
   489 }
   490 }
   490 
   491 
   491 void
   492 void
   492 SplashCleanupPlatform(Splash * splash)
   493 SplashCleanupPlatform(Splash * splash)
   493 {
   494 {