Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CComObject Class Reference

#include <ComObject.h>

Inheritance diagram for CComObject:

CAlbumFolder CApplication CCollectionFile CComMenu CComToolbar CGProfile CImageFile CImageServices CLibrary CLibraryCollectionView::External CLibraryFile CLibraryFolder CLibraryFolders CLibraryList CLibraryMaps CMatchListView CXMLCOM CXMLCOMCol List of all members.

Public Member Functions

 CComObject ()
virtual ~CComObject ()
BOOL EnableDispatch (REFIID pIID)
LPUNKNOWN GetInterface (REFIID pIID, BOOL bAddRef=FALSE)
LPDISPATCH GetDispatch (BOOL bAddRef=FALSE)

Public Attributes

const CLSIDm_pCLSID

Protected Member Functions

 STDMETHOD_ (ULONG, ComAddRef)(LPUNKNOWN)
 STDMETHOD_ (ULONG, ComRelease)(LPUNKNOWN)

Protected Attributes

CMapPtrToPtr m_pDispatchMap
STDMETHOD( ComQueryInterface )(LPUNKNOWN, REFIID, LPVOID *)
STDMETHOD( ComGetTypeInfoCount )(LPUNKNOWN, UINT FAR *)
STDMETHOD( ComGetTypeInfo )(LPUNKNOWN, UINT, LCID, LPTYPEINFO FAR *)
STDMETHOD( ComGetIDsOfNames )(LPUNKNOWN, REFIID, OLECHAR FAR *FAR *, UINT, LCID lcid, DISPID FAR *)
STDMETHOD( ComInvoke )(LPUNKNOWN, DISPID, REFIID, LCID, WORD, DISPPARAMS FAR *, VARIANT FAR *, EXCEPINFO FAR *, UINT FAR *)

Constructor & Destructor Documentation

CComObject::CComObject  ) 
 

Definition at line 40 of file ComObject.cpp.

References NULL.

CComObject::~CComObject  )  [virtual]
 

Definition at line 46 of file ComObject.cpp.


Member Function Documentation

BOOL CComObject::EnableDispatch REFIID  pIID  ) 
 

Definition at line 53 of file ComObject.cpp.

References m_pDispatchMap.

Referenced by CLibrary::CLibrary(), CXMLCOMCol::CXMLCOMCol(), and CLibraryCollectionView::External::External().

LPDISPATCH CComObject::GetDispatch BOOL  bAddRef = FALSE  ) 
 

Definition at line 81 of file ComObject.cpp.

References GetInterface().

Referenced by CLibraryCollectionView::OnCreate().

LPUNKNOWN CComObject::GetInterface REFIID  pIID,
BOOL  bAddRef = FALSE
 

Definition at line 64 of file ComObject.cpp.

References m_pDispatchMap.

Referenced by CMatchListView::Attach(), CApplication::GetApp(), GetDispatch(), CLibraryWnd::GetGenericView(), CApplication::GetUI(), CPlugin::Start(), CXMLCOM::Wrap(), CComToolbar::Wrap(), CComMenu::Wrap(), CXMLCOMCol::WrapAttributes(), and CXMLCOMCol::WrapElements().

CComObject::STDMETHOD_ ULONG  ,
ComRelease 
[protected]
 

CComObject::STDMETHOD_ ULONG  ,
ComAddRef 
[protected]
 


Member Data Documentation

STDMETHODIMP CComObject::ComGetIDsOfNames [protected]
 

Definition at line 137 of file ComObject.cpp.

STDMETHODIMP CComObject::ComGetTypeInfo [protected]
 

Definition at line 125 of file ComObject.cpp.

STDMETHODIMP CComObject::ComGetTypeInfoCount [protected]
 

Definition at line 118 of file ComObject.cpp.

STDMETHODIMP CComObject::ComInvoke [protected]
 

Definition at line 161 of file ComObject.cpp.

STDMETHODIMP CComObject::ComQueryInterface [protected]
 

Definition at line 99 of file ComObject.cpp.

const CLSID* CComObject::m_pCLSID
 

Reimplemented in CImageServices.

Definition at line 45 of file ComObject.h.

CMapPtrToPtr CComObject::m_pDispatchMap [protected]
 

Definition at line 47 of file ComObject.h.

Referenced by EnableDispatch(), and GetInterface().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:04 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2