Leaked source code of windows server 2003
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.

114 lines
3.5 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. #define IDB_SMALL_SRVAPP_4_MSGINA_DLL 1008
  44. #define IDB_MEDIUM_SRVAPP_4_MSGINA_DLL 1009
  45. #define IDB_SMALL_SRVAPP_8_MSGINA_DLL 1010
  46. #define IDB_MEDIUM_SRVAPP_8_MSGINA_DLL 1011
  47. //
  48. // shell32.dll occupies resource bitmap ID range 1100-1199
  49. //
  50. #define IDB_BASE_SHELL32_DLL 1100
  51. #define IDB_BLOCK_NUM_SHELL32_DLL 1
  52. #define IDB_ABOUTTABLETPC16_SHELL32_DLL 1100
  53. #define IDB_ABOUTTABLETPC256_SHELL32_DLL 1101
  54. #define IDB_ABOUTMEDIACENTER16_SHELL32_DLL 1102
  55. #define IDB_ABOUTMEDIACENTER256_SHELL32_DLL 1103
  56. #define IDB_ABOUTAPPLIANCE16_SHELL32_DLL 1104
  57. #define IDB_ABOUTAPPLIANCE256_SHELL32_DLL 1105
  58. //
  59. // logon.scr occupies resource bitmap ID range 1200-1299
  60. //
  61. #define IDB_TABLETPC_LOGON_SCR 1200
  62. #define IDB_MEDIACENTER_LOGON_SCR 1201
  63. #define IDB_BASE_EXPLORER_EXE 1300
  64. #define IDB_TABLETPC_STARTBKG 1301
  65. #define IDB_MEDIACENTER_STARTBKG 1302
  66. //
  67. // sysdm.cpl occupies resource string ID range 2000-2099
  68. //
  69. #define IDS_BASE_SYSDM_CPL 2000
  70. #define IDS_BLOCK_NUM_SYSDM_CPL 1
  71. #define IDS_WINVER_TABLETPC_SYSDM_CPL 2000
  72. #define IDS_WINVER_MEDIACENTER_SYSDM_CPL 2001
  73. #define IDS_WINVER_APPLIANCE_SYSDM_CPL 2002
  74. #endif //__WINBRAND_H_