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.

56 lines
2.4 KiB

  1. /*:
  2. @*: This file is organized into two main blocks. The first block contains
  3. @*: code (non-string) sections which are specific to languages. Please put
  4. @*: the code sections in the correct language.
  5. @*: The second block is reserved for [Strings] which localizers will be
  6. @*: working with. It is further divided using "#if LANGUAGE ==" for language
  7. @*: specific strings. For strings which are common to all languages
  8. @*: place outside the #ifs.
  9. @*:
  10. @*: This file is first precompiled with LANGUAGE_ID
  11. @*: set to the language (see inf\win4\inf\makefile.inc for details).
  12. @*: For example, for usa builds, the sections under #if LANGUAGE == 0x409
  13. @*: will appear.
  14. @*:
  15. @*: Important: To support locstudio, this file contains only ONE [Strings] section.
  16. @*:
  17. @*/
  18. #if LANGUAGE_ID != 0x804 && LANGUAGE_ID != 0x404 && LANGUAGE_ID != 0x411 && LANGUAGE_ID != 0x412
  19. // This section is for non-FE (chs,cht,jpn,kor) builds. So english, german, ...
  20. #elif LANGUAGE_ID == 0x804
  21. //CHS specific sections
  22. #elif LANGUAGE_ID == 0x404
  23. //CHT specific sections
  24. #elif LANGUAGE_ID == 0x411
  25. //JPN specific sections
  26. #elif LANGUAGE_ID == 0x412
  27. //KOR specific sections
  28. #endif
  29. // String section below for localizers
  30. [strings]
  31. MSFT = "Microsoft"
  32. BatteryClassName = "������"
  33. @@:@i:ACPI\pnp0c0A.DeviceDesc = "Microsoft ACPI-Compliant Control Method Battery"
  34. @@:@i:ACPI\acpi0002.DeviceDesc = "Microsoft Smart Battery Subsystem"
  35. @@:@i:SMBBATT\SMART_BATTERY.DeviceDesc = "Microsoft Smart Battery"
  36. @@:@i:ACPI\acpi0003.DeviceDesc = "Microsoft AC Adapter"
  37. @w:@i:NTAPM\APMBATT.DeviceDesc = "Microsoft APM Legacy Battery"
  38. HID_DEVICE_BATTERY.DeviceDesc = "HID UPS Battery"
  39. @@:@i:CmBatt.SvcDesc = "Microsoft ACPI Control Method Battery Driver"
  40. @@:@i:SMBBSUB.SvcDesc = "Microsoft Smart Battery Subsystem Driver"
  41. @@:@i:SMBBATT.SvcDesc = "Microsoft Smart Battery Driver"
  42. @@:@i:AcAdapter.SvcDesc = "Microsoft AC Adapter Driver"
  43. @w:@i:ApmBatt.SvcDesc = "Microsoft APM Legacy Battery Driver"
  44. HidBatt.SvcDesc = "HID UPS Battery Driver"
  45. PowerWareUPS.DeviceDesc = "PowerWare UPS"
  46. APC.DeviceDesc = "APC UPS"
  47. SPSVCINST_ASSOCSERVICE = 0x00000002
  48. SERVICE_KERNEL_DRIVER = 1
  49. SERVICE_DEMAND_START = 3
  50. SERVICE_ERROR_NORMAL = 1
  51. REG_SZ = 0
  52. REG_EXPAND_SZ = 0x00020000
  53. REG_APPEND_MULTI_SZ = 0x00010008
  54. REG_BINARY = 1