Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

107 lines
3.0 KiB

  1. /*
  2. Copyright (c) 2002 Microsoft Corporation
  3. Module Name:
  4. winbrand.h
  5. Abstract:
  6. Definitions for Windows Branding Resources
  7. Notes:
  8. 1 ) Window Branding resource DLL will be shared by multiple components, thus component owners have to
  9. do their best practices to avoid resource id and name conflicts.
  10. To avoid id conflicts, owners should use RESOURCE_ID_BLOCK_SiZE as the base resource id
  11. range unit, and define component resource base ID and block numbers for each resource
  12. type as appropriate. Before adding resources, owners have to make sure newly defined IDs
  13. are not overlapping other components' id ranges
  14. For resource id name defines, owner should include the component name in name define to
  15. avoid conflicts.
  16. See below for an example of defining string IDs for foo.dll
  17. #define IDS_BASE_FOO_DLL 1000
  18. #define IDS_BLOCK_NUM_FOO_DLL 2
  19. //
  20. // Foo.dll occupies resource string id range 1000 - 1199
  21. //
  22. #define IDS_XXX_FOO_DLL 1000
  23. ...
  24. #define IDS_YYY_FOO_DLL 1101
  25. Revision History:
  26. */
  27. #ifndef __WINBRAND_H_
  28. #define __WINBRAND_H_
  29. #define RESOURCE_ID_BLOCK_SiZE 100
  30. //
  31. // msgina.dll occupies resource bitmap ID range 1000-1099
  32. //
  33. #define IDB_BASE_MSGINA_DLL 1000
  34. #define IDB_BLOCK_NUM_MSGINA_DLL 1
  35. #define IDB_SMALL_PROTAB_8_MSGINA_DLL 1000
  36. #define IDB_MEDIUM_PROTAB_8_MSGINA_DLL 1001
  37. #define IDB_MEDIUM_PROTAB_4_MSGINA_DLL 1002
  38. #define IDB_SMALL_PROTAB_4_MSGINA_DLL 1003
  39. #define IDB_SMALL_PROMED_8_MSGINA_DLL 1004
  40. #define IDB_MEDIUM_PROMED_8_MSGINA_DLL 1005
  41. #define IDB_MEDIUM_PROMED_4_MSGINA_DLL 1006
  42. #define IDB_SMALL_PROMED_4_MSGINA_DLL 1007
  43. //
  44. // shell32.dll occupies resource bitmap ID range 1100-1199
  45. //
  46. #define IDB_BASE_SHELL32_DLL 1100
  47. #define IDB_BLOCK_NUM_SHELL32_DLL 1
  48. #define IDB_ABOUTTABLETPC16_SHELL32_DLL 1100
  49. #define IDB_ABOUTTABLETPC256_SHELL32_DLL 1101
  50. #define IDB_ABOUTMEDIACENTER16_SHELL32_DLL 1102
  51. #define IDB_ABOUTMEDIACENTER256_SHELL32_DLL 1103
  52. //
  53. // logon.scr occupies resource bitmap ID range 1200-1299
  54. //
  55. #define IDB_TABLETPC_LOGON_SCR 1200
  56. #define IDB_MEDIACENTER_LOGON_SCR 1201
  57. #define IDB_BASE_EXPLORER_EXE 1300
  58. #define IDB_TABLETPC_STARTBKG 1301
  59. #define IDB_MEDIACENTER_STARTBKG 1302
  60. //
  61. // sysdm.cpl occupies resource string ID range 2000-2099
  62. //
  63. #define IDS_BASE_SYSDM_CPL 2000
  64. #define IDS_BLOCK_NUM_SYSDM_CPL 1
  65. #define IDS_WINVER_TABLETPC_SYSDM_CPL 2000
  66. #define IDS_WINVER_MEDIACENTER_SYSDM_CPL 2001
  67. #endif //__WINBRAND_H_