/****************************************************************************** Copyright (c) 2000 Microsoft Corporation Module Name: HCApi.idl Abstract: This file contains the declaration of the set of coclasses and interfaces implemented by the Help Center Launch API. Revision History: Davide Massarenti (Dmassare) 04/15/2000 created ******************************************************************************/ import "oaidl.idl"; /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // // Forward declaration. // interface IPCHLaunch; cpp_quote("#define HCAPI_MODE_NEW_INSTANCE 0x00000001") cpp_quote("#define HCAPI_MODE_ALWAYSONTOP 0x00000002") cpp_quote("#define HCAPI_MODE_CONTENT_ONLY 0x00000100") cpp_quote("#define HCAPI_MODE_UILESS 0x80000000") /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// [ object, uuid(AF72E210-FA10-4BB5-A348-269D7615A520), helpstring("IPCHLaunch Interface"), pointer_default(unique) ] interface IPCHLaunch : IUnknown { HRESULT SetMode( [in] DWORD dwFlags ); HRESULT SetParentWindow( [in] HWND hwndParent ); HRESULT SetSizeInfo( [in] LONG lX, [in] LONG lY, [in] LONG lWidth, [in] LONG lHeight ); HRESULT SetContext( [in] BSTR bstrCtxName, [in] BSTR bstrCtxInfo ); HRESULT DisplayTopic( [in] BSTR bstrURL ); HRESULT DisplayError( [in] REFCLSID rclsid ); //////////////////// HRESULT IsOpen( [out] BOOL *pVal ); HRESULT PopUp(); HRESULT Close(); HRESULT WaitForTermination( [in] DWORD dwTimeout ); }; /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// [ uuid(AF72E200-FA10-4BB5-A348-269D7615A520), version(1.0), helpstring("Help Center Launch API 1.0 Type Library") ] library HCLaunchLIB { importlib("stdole32.tlb"); importlib("stdole2.tlb"); [ uuid(AF72E201-FA10-4BB5-A348-269D7615A520), helpstring("PCHLaunch Class") ] coclass PCHLaunch { [default] interface IPCHLaunch; } };