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.

104 lines
3.3 KiB

  1. BEGIN {
  2. print "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>";
  3. print "<assembly xmlns=\"urn:schemas-microsoft-com:asm.v1\" manifestVersion=\"1.0\">";
  4. print " <assemblyIdentity";
  5. print " type=\"win32\"";
  6. print " name=\"Microsoft.Speech.API\"";
  7. print " version=\"5.0.xxxx.0\"";
  8. print " processorArchitecture=SXS_ASSEMBLY_PROCESSOR_ARCHITECTURE";
  9. print " />";
  10. print " <file name=\"sapisvr.exe\"/>";
  11. print " <file name=\"sapi.cpl\"/>";
  12. print " <file name=\"1033\\spcplui.dll\" source=\"spcplui.dll\"/>";
  13. print " <file name=\"sapi.dll\">";
  14. }
  15. {
  16. if (index($0,"},,,") != 0)
  17. {
  18. if (clsid != "")
  19. {
  20. print " <comClass";
  21. print " description=\""description"\"";
  22. printf " clsid=\""clsid"\"";
  23. if (progid != "")
  24. {
  25. print "";
  26. printf " progid=\""progid"\"";
  27. }
  28. if (threadingmodel != "")
  29. {
  30. print "";
  31. printf " threadingModel=\""threadingmodel"\"";
  32. }
  33. if (typelib != "")
  34. {
  35. print "";
  36. printf " tlbid=\""typelib"\"";
  37. }
  38. print ">";
  39. if (versionindependentprogid != "")
  40. {
  41. print " <progid>"versionindependentprogid"</progid>";
  42. }
  43. print " </comClass>";
  44. }
  45. progid = "";
  46. threadingmodel = "";
  47. typelib = "";
  48. versionindependentprogid = "";
  49. }
  50. clsid = substr($0, 29, 38);
  51. if (index($0, "},,,") != 0)
  52. {
  53. description = substr($0, index($0, "\"") + 1, length($0) - index($0, "\"") - 1);
  54. }
  55. if (index($0, "\\ProgID") != 0)
  56. {
  57. progid = substr($0, index($0, "\"") + 1, length($0) - index($0, "\"") - 1);
  58. }
  59. if (index($0, "ThreadingModel") != 0)
  60. {
  61. threadingmodel = substr($0, index($0, "\"") + 1, length($0) - index($0, "\"") - 1);
  62. }
  63. if (index($0, "TypeLib") != 0)
  64. {
  65. typelib = substr($0, index($0, "\"") + 1, length($0) - index($0, "\"") - 1);
  66. }
  67. if (index($0, "VersionIndependentProgID") != 0)
  68. {
  69. versionindependentprogid = substr($0, index($0, "\"") + 1, length($0) - index($0, "\"") - 1);
  70. }
  71. }
  72. END {
  73. print " <comClass";
  74. print " description=\""description"\"";
  75. printf " clsid=\""clsid"\"";
  76. if (progid != "")
  77. {
  78. print "";
  79. printf " progid=\""progid"\"";
  80. }
  81. if (threadingmodel != "")
  82. {
  83. print "";
  84. printf " threadingModel=\""threadingmodel"\"";
  85. }
  86. if (typelib != "")
  87. {
  88. print "";
  89. printf " tlbid=\""typelib"\"";
  90. }
  91. print ">";
  92. if (versionindependentprogid != "")
  93. {
  94. print " <progid>"versionindependentprogid"</progid>";
  95. }
  96. print " </comClass>";
  97. print " <typelib tlbid=\"{C866CA3A-32F7-11D2-9602-00C04F8EE628}\" version=\"5.0\" helpdir=\"\"/>";
  98. print " <typelib tlbid=\"{9903F14C-12CE-4c99-9986-2EE3D7D588A8}\" version=\"5.0\" helpdir=\"\"/>";
  99. print " </file>";
  100. print "</assembly>";
  101. }