reactos/ntoskrnl/include/resource.h

56 lines
1.8 KiB
C
Raw Normal View History

/*
* PROJECT: ReactOS Kernel
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
* PURPOSE: Boot Theme & Animation - Standard Bitmap Resources
* COPYRIGHT: Copyright 2010 Alex Ionescu (alex.ionescu@reactos.org)
* Copyright 2015-2022 Hermès Bélusca-Maïto
*
* COMPATIBILITY NOTICE
*
* This is the list of all the bitmap overlay resources present in the
* NT kernel of Windows XP, Windows Server 2003 and their variations.
* See "How to change Windows XP boot logo" at
* https://web.archive.org/web/20220926055242/https://www.reversing.be/article.php?story=20061209171938444
* as well as the "Boot Editor for WinXP" program for more details.
*/
#pragma once
#define IDB_BOOT_SCREEN 1
#define IDB_HIBERNATE_BAR 2
#define IDB_SHUTDOWN_MSG 3
#define IDB_BAR_DEFAULT 4
#define IDB_LOGO_DEFAULT 5
#define IDB_WKSTA_HEADER 6
#define IDB_WKSTA_FOOTER 7
Patch for better boot logo/progress bar, fixed /SOS (debug) boot screen/output, removal of "funny" shutdown messages, addition of shutdown logo/screen, and misc: [NTOS]: Add missing InbvIndicateProgress routine to update the progress bar while drivers are loading. Make boot and system driver initialization call it for each new driver. This updates the progress bar in the 25-75% range which was defined prior to IoInitSystem. [NTOS]: Fix InbvUpdateProgressBar code to correctly handle the floor and ceiling. [NTOS]: Remove shutdown "funny messages", do correct shutdown (should fix the ACPI shutdown issues) procedure. Display the shutdown screen on systems without ACPI (just like Windows does). [NTOS]: Add a resource header with IDB_ definitions for all the embedded bitmaps, instead of using magic numbers and guessing which is which. [NTOS]: Fix the boot logo initialization code as it was all wrong. 5 is the logo to be used during shutdown, for example, not the full logo background (which is supposed to be in 1, with a special palette that's faded in). Also handle server vs workstation scenarios. [NTOS]: Booting in the new WinNT mode now correctly displays the blue background screen when in debug (/SOS) mode, and the header/footer also has the correct color, as does the separator band. [DDK]: Add missing SUITE_TYPE definitions. [NTOS]: Remove logo files that are simply not needed for ReactOS (Compute Cluster Edition, Tablet PC, etc...) [NTOS]: Fix logo files (mostly) to have correct palettes. Note that 1.bmp is still quite different from Windows (no fade). svn path=/trunk/; revision=45822
2010-03-04 06:26:11 +00:00
#define IDB_BAR_WKSTA 8
#define IDB_BAR_HOME 9
Patch for better boot logo/progress bar, fixed /SOS (debug) boot screen/output, removal of "funny" shutdown messages, addition of shutdown logo/screen, and misc: [NTOS]: Add missing InbvIndicateProgress routine to update the progress bar while drivers are loading. Make boot and system driver initialization call it for each new driver. This updates the progress bar in the 25-75% range which was defined prior to IoInitSystem. [NTOS]: Fix InbvUpdateProgressBar code to correctly handle the floor and ceiling. [NTOS]: Remove shutdown "funny messages", do correct shutdown (should fix the ACPI shutdown issues) procedure. Display the shutdown screen on systems without ACPI (just like Windows does). [NTOS]: Add a resource header with IDB_ definitions for all the embedded bitmaps, instead of using magic numbers and guessing which is which. [NTOS]: Fix the boot logo initialization code as it was all wrong. 5 is the logo to be used during shutdown, for example, not the full logo background (which is supposed to be in 1, with a special palette that's faded in). Also handle server vs workstation scenarios. [NTOS]: Booting in the new WinNT mode now correctly displays the blue background screen when in debug (/SOS) mode, and the header/footer also has the correct color, as does the separator band. [DDK]: Add missing SUITE_TYPE definitions. [NTOS]: Remove logo files that are simply not needed for ReactOS (Compute Cluster Edition, Tablet PC, etc...) [NTOS]: Fix logo files (mostly) to have correct palettes. Note that 1.bmp is still quite different from Windows (no fade). svn path=/trunk/; revision=45822
2010-03-04 06:26:11 +00:00
#define IDB_SERVER_LOGO 13
#define IDB_SERVER_HEADER 14
#define IDB_SERVER_FOOTER 15
/* Workstation editions Overlays */
#define IDB_TEXT_PROF 10 // Professional
#define IDB_TEXT_HOME 11 // Home Edition
#define IDB_TEXT_EMBEDDED 12 // Embedded
#define IDB_TEXT_SVRFAMILY 13 // Server Family
#define IDB_TEXT_DOTNET 16 // .NET 2003
#define IDB_TEXT_TABLETPC 17 // Tablet PC Edition
#define IDB_TEXT_MEDIACTR 18 // Media Center Edition
/* Server editions Overlays */
#define IDB_STORAGE_SERVER 16 // Storage Server
#define IDB_CLUSTER_SERVER 17 // Compute Cluster Edition
#define IDB_STORAGE_SERVER2 18
/* ReactOS additions */
#define IDB_LOGO_XMAS 19
#define IDB_ROTATING_LINE 20
#define IDB_PROGRESS_BAR 21
#define IDB_COPYRIGHT 22
#define IDB_MAX_RESOURCES IDB_COPYRIGHT