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.
37 lines
995 B
37 lines
995 B
// 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<CComSingleThreadModel>,
|
|
public CComCoClass<CFaxControl, &CLSID_FaxControl>,
|
|
public IDispatchImpl<IFaxControl, &IID_IFaxControl, &LIBID_FAXCONTROLLib>
|
|
{
|
|
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_
|