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.

90 lines
2.0 KiB

  1. // Copyright (c) Microsoft Corporation
  2. import "oaidl.idl";
  3. import "ocidl.idl";
  4. #include "fusionguids.h"
  5. cpp_quote("#pragma warning(disable:4152) /* non standard extension */ ")
  6. cpp_quote("#pragma warning(disable:4232) /* non standard extension */ ")
  7. [
  8. object,
  9. uuid(IID_ISxsTest_FreeThreaded_midl),
  10. pointer_default(unique)
  11. ]
  12. interface ISxsTest_FreeThreaded : IUnknown
  13. {
  14. };
  15. [
  16. object,
  17. uuid(IID_ISxsTest_SingleThreaded_midl),
  18. pointer_default(unique)
  19. ]
  20. interface ISxsTest_SingleThreaded : IUnknown
  21. {
  22. HRESULT OutputDebugStringA([in]const char * s);
  23. };
  24. [
  25. object,
  26. uuid(IID_ISxsTest_SingleThreadedDual_midl),
  27. pointer_default(unique),
  28. dual,
  29. oleautomation
  30. ]
  31. interface ISxsTest_SingleThreadedDual : IDispatch
  32. {
  33. HRESULT OutputDebugStringA([in]const char * s);
  34. };
  35. [
  36. object,
  37. uuid(IID_ISxsTest_ApartmentThreaded_midl),
  38. pointer_default(unique)
  39. ]
  40. interface ISxsTest_ApartmentThreaded : IUnknown
  41. {
  42. };
  43. [
  44. object,
  45. uuid(IID_ISxsTest_BothThreaded_midl),
  46. pointer_default(unique)
  47. ]
  48. interface ISxsTest_BothThreaded : IUnknown
  49. {
  50. };
  51. [
  52. uuid(LIBID_SxsTest_Lib_midl)
  53. ]
  54. library SxsTest_Lib
  55. {
  56. importlib("stdole32.tlb");
  57. importlib("stdole2.tlb");
  58. [ uuid(CLSID_CSxsTest_FreeThreaded_midl) ]
  59. coclass CSxsTest_FreeThreaded
  60. {
  61. [default] interface ISxsTest_FreeThreaded;
  62. };
  63. [ uuid(CLSID_CSxsTest_SingleThreaded_midl) ]
  64. coclass CSxsTest_SingleThreaded
  65. {
  66. [default] interface ISxsTest_SingleThreaded;
  67. };
  68. [ uuid(CLSID_CSxsTest_SingleThreadedDual_midl) ]
  69. coclass CSxsTest_SingleThreadedDual
  70. {
  71. [default] interface ISxsTest_SingleThreadedDual;
  72. };
  73. [ uuid(CLSID_CSxsTest_ApartmentThreaded_midl) ]
  74. coclass CSxsTest_ApartmentThreaded
  75. {
  76. [default] interface ISxsTest_ApartmentThreaded;
  77. };
  78. [ uuid(CLSID_CSxsTest_BothThreaded_midl) ]
  79. coclass CSxsTest_BothThreaded
  80. {
  81. [default] interface ISxsTest_BothThreaded;
  82. };
  83. };