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.
 
 
 
 
 
 

37 lines
932 B

// MapiUtil.h : Declaration of the CMapiUtil
#ifndef __MAPIUTIL_H_
#define __MAPIUTIL_H_
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CMapiUtil
class ATL_NO_VTABLE CMapiUtil :
public CComObjectRootEx<CComSingleThreadModel>,
public CComCoClass<CMapiUtil, &CLSID_MapiUtil>,
public IDispatchImpl<IMapiUtil, &IID_IMapiUtil, &LIBID_MCSMAPIUTILLib>
{
public:
CMapiUtil()
{
}
DECLARE_REGISTRY_RESOURCEID(IDR_MAPIUTIL)
DECLARE_NOT_AGGREGATABLE(CMapiUtil)
DECLARE_PROTECT_FINAL_CONSTRUCT()
BEGIN_COM_MAP(CMapiUtil)
COM_INTERFACE_ENTRY(IMapiUtil)
COM_INTERFACE_ENTRY(IDispatch)
END_COM_MAP()
// IMapiUtil
public:
STDMETHOD(ProfileGetServer)(BSTR profile,/*[out]*/ BSTR * exchangeServer);
STDMETHOD(ListProfiles)(/*[out]*/ IUnknown ** pUnkOut);
STDMETHOD(ListContainers)(BSTR profile, /*[out]*/ IUnknown ** pUnkOut);
};
#endif //__MAPIUTIL_H_