Leaked source code of windows server 2003
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

  1. // IFaxControl.h : Declaration of the CFaxControl
  2. #ifndef __IFAXCONTROL_H_
  3. #define __IFAXCONTROL_H_
  4. #include "resource.h" // main symbols
  5. /////////////////////////////////////////////////////////////////////////////
  6. // CFaxControl
  7. class ATL_NO_VTABLE CFaxControl :
  8. public CComObjectRootEx<CComSingleThreadModel>,
  9. public CComCoClass<CFaxControl, &CLSID_FaxControl>,
  10. public IDispatchImpl<IFaxControl, &IID_IFaxControl, &LIBID_FAXCONTROLLib>
  11. {
  12. public:
  13. CFaxControl()
  14. {
  15. }
  16. DECLARE_REGISTRY_RESOURCEID(IDR_IFAXCONTROL)
  17. DECLARE_PROTECT_FINAL_CONSTRUCT()
  18. BEGIN_COM_MAP(CFaxControl)
  19. COM_INTERFACE_ENTRY(IFaxControl)
  20. COM_INTERFACE_ENTRY(IDispatch)
  21. END_COM_MAP()
  22. // IFaxControl
  23. public:
  24. STDMETHOD(get_IsLocalFaxPrinterInstalled)(/*[out, retval]*/ VARIANT_BOOL *pbVal);
  25. STDMETHOD(get_IsFaxServiceInstalled)(/*[out, retval]*/ VARIANT_BOOL *pbVal);
  26. STDMETHOD(InstallLocalFaxPrinter)();
  27. STDMETHOD(InstallFaxService)();
  28. };
  29. #endif //__IFAXCONTROL_H_