windows-nt/Source/XPSP1/NT/net/tapi/skywalker/tapi3/dispmap.h

63 lines
1.4 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/*++
Copyright (c) 1998-1999 Microsoft Corporation
Module Name:
dispmap.cpp
Abstract:
Implements all the methods on DispatchMapper interfaces
Author:
mquinton 03-31-98
Notes:
Revision History:
--*/
#ifndef __DISPMAP_H__
#define __DISPMAP_H__
#include "resource.h"
//#include "objsafe.h"
#include "atlctl.h"
/////////////////////////////////////////////////////////////////////////////
// CDispatchMapper
class CDispatchMapper :
public CTAPIComObjectRoot<CDispatchMapper>,
public CComCoClass<CDispatchMapper, &CLSID_DispatchMapper>,
public CComDualImpl<ITDispatchMapper, &IID_ITDispatchMapper, &LIBID_TAPI3Lib>,
public IObjectSafetyImpl<CDispatchMapper>
{
public:
CDispatchMapper()
{
}
DECLARE_REGISTRY_RESOURCEID(IDR_DISPATCHMAPPER)
DECLARE_QI()
DECLARE_MARSHALQI(CDispatchMapper)
DECLARE_TRACELOG_CLASS(CDispatchMapper)
BEGIN_COM_MAP(CDispatchMapper)
COM_INTERFACE_ENTRY2(IDispatch, ITDispatchMapper)
COM_INTERFACE_ENTRY(ITDispatchMapper)
COM_INTERFACE_ENTRY_IMPL(IObjectSafety)
COM_INTERFACE_ENTRY_FUNC(IID_IMarshal, 0, IMarshalQI)
END_COM_MAP()
STDMETHOD(QueryDispatchInterface)(
BSTR pIID,
IDispatch * pDispIn,
IDispatch ** ppDispIn
);
};
#endif