// IFaxControl.h : Declaration of the CFaxControl #ifndef __IFAXCONTROL_H_ #define __IFAXCONTROL_H_ #include "resource.h" // main symbols ///////////////////////////////////////////////////////////////////////////// // CFaxControl class ATL_NO_VTABLE CFaxControl : public CComObjectRootEx, public CComCoClass, public IDispatchImpl { public: CFaxControl() { } DECLARE_REGISTRY_RESOURCEID(IDR_IFAXCONTROL) DECLARE_PROTECT_FINAL_CONSTRUCT() BEGIN_COM_MAP(CFaxControl) COM_INTERFACE_ENTRY(IFaxControl) COM_INTERFACE_ENTRY(IDispatch) END_COM_MAP() // IFaxControl public: STDMETHOD(get_IsLocalFaxPrinterInstalled)(/*[out, retval]*/ VARIANT_BOOL *pbVal); STDMETHOD(get_IsFaxServiceInstalled)(/*[out, retval]*/ VARIANT_BOOL *pbVal); STDMETHOD(InstallLocalFaxPrinter)(); STDMETHOD(InstallFaxService)(); }; #endif //__IFAXCONTROL_H_