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.

16 lines
448 B

  1. BEGIN {
  2. print "*%"
  3. print "*% Copyright (c) 1997 - 2000 Microsoft Corporation"
  4. print "*% All Rights Reserved."
  5. print "*%"
  6. }
  7. /rcNameID/ || /OptionID/ {
  8. if ($2 !~ /^[0-9]/) { print; next }
  9. if ($2 == 258) id = 280
  10. else if ($2 == 259) id = 306
  11. else if ($2 >= 260 && $2 <= 271) id = $2 + 22
  12. else { print "*Error: Unknown NameID: " $2; next }
  13. gsub(/[0-9][0-9][0-9]/, id)
  14. }
  15. { print }
  16. END { print "*UseExpColorSelectCmd? : TRUE" }