2005/5/9

     
 

IUnknown_h

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

IUnknown.h File Reference

#include <acdk.h>
#include Config.h
#include CoSys.h

Namespaces

namespace  acdkx
namespace  acdkx::com

Compounds

class  IHolder

Defines

#define ACDK_COMIFACE(cls)   typedef IHolder<cls> R##cls
#define ACDK_STD_IUNKNOWN_RC()
#define ACDK_STD_IUNKNOWN_QI()

Functions

template<class OI, class I> IHolder< OI > iface_cast (I *iface)
template<class OI, class I> IHolder< OI > iface_cast (IHolder< I > &iface)
 ACDK_COMIFACE (IUnknown)


Define Documentation

#define ACDK_COMIFACE cls   )     typedef IHolder<cls> R##cls
 

 
#define ACDK_STD_IUNKNOWN_QI  ) 
 

Value:

virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid,void** ppvObject) \
{ return ::acdkx::com::IUnknown::QueryInterface(riid, ppvObject); }

 
#define ACDK_STD_IUNKNOWN_RC  ) 
 

Value:

virtual ULONG STDMETHODCALLTYPE AddRef() { return IUnknown::AddRef(); } \
  virtual ULONG STDMETHODCALLTYPE Release() { return IUnknown::Release(); }


Function Documentation

ACDK_COMIFACE IUnknown   ) 
 

template<class OI, class I>
IHolder<OI> iface_cast IHolder< I > &  iface  ) 
 

template<class OI, class I>
IHolder<OI> iface_cast I *  iface  )