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.

123 lines
3.4 KiB

  1. /*
  2. * clsid.cxx
  3. *
  4. * IMPORTANT: Please DO NOT change these CLSIDs. If you need to add
  5. * to this list, add new CLSIDs at the END of the list.
  6. *
  7. * The BVTs depend on these CLSIDs being defined as they are.
  8. */
  9. #ifdef UNICODE
  10. #define _UNICODE 1
  11. #endif
  12. #include "windows.h"
  13. #include "tchar.h"
  14. //
  15. // This is the CLSID for the custom interface proxy, just to be different.
  16. //
  17. CLSID CLSID_GooberProxy = { /* 00000000-0000-0000-0000-000000000001 */
  18. 0x00000000,
  19. 0x0000,
  20. 0x0000,
  21. {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1}
  22. };
  23. //
  24. // This one gets registered as LocalServer32.
  25. //
  26. CLSID CLSID_ActLocal = { /* 00000000-0000-0000-0000-000000000002 */
  27. 0x00000000,
  28. 0x0000,
  29. 0x0000,
  30. {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2}
  31. };
  32. //
  33. // This one gets registered as LocalServer32 and has a Remote key on the
  34. // client side.
  35. //
  36. CLSID CLSID_ActRemote = { /* 00000000-0000-0000-0000-000000000003 */
  37. 0x00000000,
  38. 0x0000,
  39. 0x0000,
  40. {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3}
  41. };
  42. //
  43. // This one gets registered as LocalServer32 and has an AtStorage key on the
  44. // client side.
  45. //
  46. CLSID CLSID_ActAtStorage = { /* 00000000-0000-0000-0000-000000000004 */
  47. 0x00000000,
  48. 0x0000,
  49. 0x0000,
  50. {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4}
  51. };
  52. //
  53. // This one gets registered as InprocServer32.
  54. //
  55. CLSID CLSID_ActInproc = { /* 00000000-0000-0000-0000-000000000005 */
  56. 0x00000000,
  57. 0x0000,
  58. 0x0000,
  59. {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5}
  60. };
  61. //
  62. // This one gets registered as InprocServer32.
  63. // It has an AtStorage key on the client side.
  64. // It is configured to run in Pre-Configured user mode on the server side.
  65. //
  66. CLSID CLSID_ActPreConfig = { /* 00000000-0000-0000-0000-000000000006 */
  67. 0x00000000,
  68. 0x0000,
  69. 0x0000,
  70. {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6}
  71. };
  72. //
  73. // Configured with RemoteServerName on client and as
  74. // RunAs Logged On User on the server.
  75. //
  76. CLSID CLSID_ActRunAsLoggedOn = { /* 00000000-0000-0000-0000-000000000007 */
  77. 0x00000000,
  78. 0x0000,
  79. 0x0000,
  80. {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7}
  81. };
  82. //
  83. // This one gets registered as an AtStorage service.
  84. //
  85. CLSID CLSID_ActService = { /* 00000000-0000-0000-0000-000000000008 */
  86. 0x00000000,
  87. 0x0000,
  88. 0x0000,
  89. {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x8}
  90. };
  91. //
  92. // This CLSID is registered only in the server's registry. Tests default
  93. // ActivateAtStorage on the client.
  94. //
  95. CLSID CLSID_ActServerOnly = { /* 00000000-0000-0000-0000-000000000009 */
  96. 0x00000000,
  97. 0x0000,
  98. 0x0000,
  99. {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9}
  100. };
  101. typedef unsigned short wchar_t;
  102. TCHAR * ClsidGoober32String = TEXT("{00000000-0000-0000-0000-000000000001}");
  103. TCHAR * ClsidActLocalString = TEXT("{00000000-0000-0000-0000-000000000002}");
  104. TCHAR * ClsidActRemoteString = TEXT("{00000000-0000-0000-0000-000000000003}");
  105. TCHAR * ClsidActAtStorageString = TEXT("{00000000-0000-0000-0000-000000000004}");
  106. TCHAR * ClsidActInprocString = TEXT("{00000000-0000-0000-0000-000000000005}");
  107. TCHAR * ClsidActPreConfigString = TEXT("{00000000-0000-0000-0000-000000000006}");
  108. TCHAR * ClsidActRunAsLoggedOnString = TEXT("{00000000-0000-0000-0000-000000000007}");
  109. TCHAR * ClsidActServiceString = TEXT("{00000000-0000-0000-0000-000000000008}");
  110. TCHAR * ClsidActServerOnlyString = TEXT("{00000000-0000-0000-0000-000000000009}");