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.

89 lines
2.5 KiB

  1. /******************************************************************************
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. HCApi.idl
  5. Abstract:
  6. This file contains the declaration of the set of coclasses and interfaces
  7. implemented by the Help Center Launch API.
  8. Revision History:
  9. Davide Massarenti (Dmassare) 04/15/2000
  10. created
  11. ******************************************************************************/
  12. import "oaidl.idl";
  13. ///////////////////////////////////////////////////////////////////////////////
  14. ///////////////////////////////////////////////////////////////////////////////
  15. ///////////////////////////////////////////////////////////////////////////////
  16. //
  17. // Forward declaration.
  18. //
  19. interface IPCHLaunch;
  20. cpp_quote("#define HCAPI_MODE_NEW_INSTANCE 0x00000001")
  21. cpp_quote("#define HCAPI_MODE_ALWAYSONTOP 0x00000002")
  22. cpp_quote("#define HCAPI_MODE_CONTENT_ONLY 0x00000100")
  23. cpp_quote("#define HCAPI_MODE_UILESS 0x80000000")
  24. ///////////////////////////////////////////////////////////////////////////////
  25. ///////////////////////////////////////////////////////////////////////////////
  26. ///////////////////////////////////////////////////////////////////////////////
  27. [
  28. object,
  29. uuid(AF72E210-FA10-4BB5-A348-269D7615A520),
  30. helpstring("IPCHLaunch Interface"),
  31. pointer_default(unique)
  32. ]
  33. interface IPCHLaunch : IUnknown
  34. {
  35. HRESULT SetMode( [in] DWORD dwFlags );
  36. HRESULT SetParentWindow( [in] HWND hwndParent );
  37. HRESULT SetSizeInfo( [in] LONG lX, [in] LONG lY, [in] LONG lWidth, [in] LONG lHeight );
  38. HRESULT SetContext( [in] BSTR bstrCtxName, [in] BSTR bstrCtxInfo );
  39. HRESULT DisplayTopic( [in] BSTR bstrURL );
  40. HRESULT DisplayError( [in] REFCLSID rclsid );
  41. ////////////////////
  42. HRESULT IsOpen( [out] BOOL *pVal );
  43. HRESULT PopUp();
  44. HRESULT Close();
  45. HRESULT WaitForTermination( [in] DWORD dwTimeout );
  46. };
  47. ///////////////////////////////////////////////////////////////////////////////
  48. ///////////////////////////////////////////////////////////////////////////////
  49. ///////////////////////////////////////////////////////////////////////////////
  50. [
  51. uuid(AF72E200-FA10-4BB5-A348-269D7615A520),
  52. version(1.0),
  53. helpstring("Help Center Launch API 1.0 Type Library")
  54. ]
  55. library HCLaunchLIB
  56. {
  57. importlib("stdole32.tlb");
  58. importlib("stdole2.tlb");
  59. [
  60. uuid(AF72E201-FA10-4BB5-A348-269D7615A520),
  61. helpstring("PCHLaunch Class")
  62. ]
  63. coclass PCHLaunch
  64. {
  65. [default] interface IPCHLaunch;
  66. }
  67. };