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.

69 lines
2.1 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992-1997.
  5. //
  6. // File: objidl.idl
  7. //
  8. //--------------------------------------------------------------------------
  9. cpp_quote("//+-------------------------------------------------------------------------")
  10. cpp_quote("//")
  11. cpp_quote("// Microsoft Windows")
  12. cpp_quote("// Copyright (C) Microsoft Corporation, 1992-1997.")
  13. cpp_quote("//")
  14. cpp_quote("//--------------------------------------------------------------------------")
  15. #ifndef DO_NO_IMPORTS
  16. import "unknwn.idl";
  17. import "objidl.idl";
  18. #endif
  19. interface IApartmentWork;
  20. /****************************************************************************
  21. * Apartment Object Interfaces
  22. ****************************************************************************/
  23. [
  24. object,
  25. local,
  26. uuid(0F29CE41-72FD-11d0-BF53-00AA00B8DFD2)
  27. ]
  28. interface IApartmentWork : IUnknown
  29. {
  30. HRESULT Invoke();
  31. }
  32. [
  33. object,
  34. local,
  35. uuid(0F29CE40-72FD-11d0-BF53-00AA00B8DFD2)
  36. ]
  37. interface IApartment : IUnknown
  38. {
  39. HRESULT EnterApartment ([in] IApartmentWork *pWk);
  40. HRESULT YieldApartment ([in] IApartmentWork *pWk);
  41. HRESULT CoCreateInstanceEx ([in] REFCLSID rclsid,
  42. [in] IUnknown *punkOuter,
  43. [in] DWORD dwClsCtx,
  44. [in] COSERVERINFO info,
  45. [in] DWORD dwCount,
  46. [out] MULTI_QI *pResults);
  47. HRESULT CoGetClassObject ( [in] REFCLSID rclsid,
  48. [in] DWORD dwClsContext,
  49. [in] COSERVERINFO * pServerInfo,
  50. [in] REFIID riid,
  51. [out, iid_is(riid)] IUnknown ** ppUnk);
  52. HRESULT GetAptID ([out] DWORD *pID);
  53. HRESULT GetAptThreadingModel ([out] DWORD *pModel);
  54. HRESULT ArePropertiesSupported([in] OLECHAR *pstr);
  55. }