Mobile API Reference  MicroStrategy 2019
Msi_atlcom.h File Reference
#include "PDCHeader/PDCwindows.h"
#include "PDCHeader/PDCwchar.h"
#include "Msi_ole2.h"
#include "Msi_atldef.h"
#include "Msi_ccombstr.h"
#include "Msi_atlbase.h"

Go to the source code of this file.

Classes

struct  ATL::_ATL_CACHEDATA
 
struct  ATL::_ATL_CHAINDATA
 
class  ATL::_CComChainData< base, derived >
 
class  ATL::CComObjectRootBase
 
class  ATL::CComObjectRootEx< ThreadModel >
 
class  ATL::CComObjectLockT< ThreadModel >
 
class  ATL::CComObjectRootEx< ThreadModel >
 
class  ATL::CComObjectRootEx_NoLock< ThreadModel >
 
class  ATL::CComObject< Base >
 
class  ATL::CComContainedObject< Base >
 
class  ATL::CComAggObject< contained >
 
class  ATL::CComObjectCachedClassFactory< Base >
 
class  ATL::CComCreator< T1 >
 
class  ATL::CComFailCreator< hr >
 
class  ATL::CComCreator2< T1, T2 >
 
class  ATL::CComClassFactory
 
class  ATL::CComCoClass< T, pclsid >
 
class  ATL::IDispatchImpl< T, piid, plibid >
 
class  ATL::_ICPLocator< piid >
 
class  ATL::IConnectionPointImpl< T, piid, CDV >
 
class  ATL::IConnectionPointContainerImpl< T >
 
class  ATL::_Copy< T >
 
class  ATL::_Copy< VARIANT >
 
class  ATL::_Copy< LPOLESTR >
 
class  ATL::_Copy< CONNECTDATA >
 
class  ATL::_CopyInterface< T >
 
class  ATL::CComIEnum< T >
 
class  ATL::CComEnumImpl< Base, piid, T, Copy >
 
class  ATL::CComEnum< Base, piid, T, Copy, ThreadModel >
 
class  ATL::IEnumOnSTLImpl< Base, piid, T, Copy, CollType >
 
class  ATL::CComEnumOnSTL< Base, piid, T, Copy, CollType, ThreadModel >
 
class  ATL::ISupportErrorInfoImpl< piid >
 
class  ATL::CComDynamicUnkArray
 

Namespaces

 ATL
 

Macros

#define _ATL_DECLARE_GET_UNKNOWN(x)   IUnknown* GetUnknown() {return _GetRawUnknown();}
 
#define BEGIN_COM_MAP(x)
 
#define DECLARE_GET_CONTROLLING_UNKNOWN()
 
#define _ATL_IIDOF(x)   IID_##x
 
#define COM_INTERFACE_ENTRY(x)
 
#define COM_INTERFACE_ENTRY_IID(iid, x)
 
#define COM_INTERFACE_ENTRY2(x, x2)
 
#define COM_INTERFACE_ENTRY_IMPL(x)   COM_INTERFACE_ENTRY_IID(_ATL_IIDOF(x), x##Impl<_ComMapClass>)
 
#define COM_INTERFACE_ENTRY_AGGREGATE(iid, punk)
 
#define COM_INTERFACE_ENTRY_CHAIN(classname)
 
#define END_COM_MAP()   {NULL, 0, 0}}; return _entries;}
 
#define _ATL_DEBUG_ADDREF_RELEASE_IMPL(className)
 
#define DECLARE_PROTECT_FINAL_CONSTRUCT()
 
#define DECLARE_NOT_AGGREGATABLE(x)
 
#define DECLARE_AGGREGATABLE(x)
 
#define DECLARE_ONLY_AGGREGATABLE(x)
 
#define DECLARE_CLASSFACTORY_EX(cf)   typedef CComCreator< CComObjectCachedClassFactory< cf > > _ClassFactoryCreatorClass;
 
#define DECLARE_CLASSFACTORY()   DECLARE_CLASSFACTORY_EX(CComClassFactory)
 
#define BEGIN_OBJECT_MAP(x)   static _ATL_OBJMAP_ENTRY x[] = {
 
#define END_OBJECT_MAP()   {NULL, NULL, NULL}};
 
#define OBJECT_ENTRY(clsid, class)
 
#define DECLARE_REGISTRY_RESOURCEID(x)
 
#define CComConnectionPointContainerImpl   IConnectionPointContainerImpl
 
#define BEGIN_CONNECTION_POINT_MAP(x)
 
#define CONNECTION_POINT_ENTRY(iid)
 
#define END_CONNECTION_POINT_MAP()
 
#define MSI_min(a, b)   (((a) < (b)) ? (a) : (b))
 
#define LOWORD(l)   ((WORD)(l))
 
#define HIWORD(l)   ((WORD)(((DWORD_PTR)(l) >> 16) & 0xFFFF))
 
#define MAKEINTRESOURCE(i)   (LPWSTR)((DWORD)((WORD)(i)))
 
#define _DEFAULT_VECTORLENGTH   4
 

Enumerations

enum  ATL::CComEnumFlags { ATL::AtlFlagNoCopy = 0, ATL::AtlFlagTakeOwnership = 2, ATL::AtlFlagCopy = 3 }
 

Functions

HRESULT WINAPI ATL::AtlSetErrorInfo (const CLSID &clsid, LPCOLESTR lpszDesc, DWORD dwHelpID, LPCOLESTR lpszHelpFile, const IID &iid, HRESULT hRes, HINSTANCE hInst)
 
HRESULT WINAPI ATL::AtlReportError (const CLSID &clsid, UINT nID, const IID &iid, HRESULT hRes, HINSTANCE hInst)
 
HRESULT WINAPI ATL::AtlReportError (const CLSID &clsid, UINT nID, DWORD dwHelpID, LPCOLESTR lpszHelpFile, const IID &iid, HRESULT hRes, HINSTANCE hInst)
 
HRESULT WINAPI ATL::AtlReportError (const CLSID &clsid, LPCOLESTR lpszDesc, const IID &iid, HRESULT hRes)
 
HRESULT WINAPI ATL::AtlReportError (const CLSID &clsid, LPCOLESTR lpszDesc, DWORD dwHelpID, LPCOLESTR lpszHelpFile, const IID &iid, HRESULT hRes)
 

Variables

template<class Base , const IID * piid, class T , class Copy , class ThreadModel = CComObjectThreadModel>
class ATL_NO_VTABLE ATL::CComEnum
 
template<class Base , const IID * piid, class T , class Copy , class CollType , class ThreadModel = CComObjectThreadModel>
class ATL_NO_VTABLE ATL::CComEnumOnSTL
 

Macro Definition Documentation

◆ _ATL_DEBUG_ADDREF_RELEASE_IMPL

#define _ATL_DEBUG_ADDREF_RELEASE_IMPL (   className)
Value:
virtual ULONG STDMETHODCALLTYPE AddRef(void) = 0;\
virtual ULONG STDMETHODCALLTYPE Release(void) = 0;
#define STDMETHODCALLTYPE
Definition: PDCwtypes.h:76
DWORD ULONG
Definition: PDCwtypes.h:127

◆ _ATL_DECLARE_GET_UNKNOWN

#define _ATL_DECLARE_GET_UNKNOWN (   x)    IUnknown* GetUnknown() {return _GetRawUnknown();}

◆ _ATL_IIDOF

#define _ATL_IIDOF (   x)    IID_##x

◆ _DEFAULT_VECTORLENGTH

#define _DEFAULT_VECTORLENGTH   4

◆ BEGIN_COM_MAP

#define BEGIN_COM_MAP (   x)
Value:
public: \
typedef x _ComMapClass; \
static HRESULT WINAPI _Cache(void* pv, REFIID iid, void** ppvObject, DWORD_PTR dw)\
{\
_ComMapClass* p = (_ComMapClass*)pv;\
p->Lock();\
HRESULT hRes = CComObjectRootBase::_Cache(pv, iid, ppvObject, dw);\
p->Unlock();\
return hRes;\
}\
IUnknown* _GetRawUnknown() \
{ ATLASSERT(_GetEntries()[0].pFunc == _ATL_SIMPLEMAPENTRY); return (IUnknown*)((DWORD_PTR)this+_GetEntries()->dw); } \
_ATL_DECLARE_GET_UNKNOWN(x)\
HRESULT _InternalQueryInterface(REFIID iid, void** ppvObject) \
{ return InternalQueryInterface(this, _GetEntries(), iid, ppvObject); } \
const static _ATL_INTMAP_ENTRY* WINAPI _GetEntries() { \
static const _ATL_INTMAP_ENTRY _entries[] = {
#define _ATL_SIMPLEMAPENTRY
Definition: Msi_atlbase.h:101
Definition: Msi_atlbase.h:93
long HRESULT
Definition: FragmentedString.h:20
#define ATLASSERT(expr)
Definition: Msi_atldef.h:18
#define WINAPI
Definition: PDCwindows.h:52
unsigned long DWORD_PTR
Definition: Msi_atlbase.h:34
REFIID LPVOID DWORD_PTR dw
Definition: Msi_atlbase.h:90
Definition: Msi_oaidl.h:41
#define REFIID
Definition: PDCwtypes.h:321

◆ BEGIN_CONNECTION_POINT_MAP

#define BEGIN_CONNECTION_POINT_MAP (   x)

◆ BEGIN_OBJECT_MAP

#define BEGIN_OBJECT_MAP (   x)    static _ATL_OBJMAP_ENTRY x[] = {

◆ CComConnectionPointContainerImpl

#define CComConnectionPointContainerImpl   IConnectionPointContainerImpl

◆ COM_INTERFACE_ENTRY

#define COM_INTERFACE_ENTRY (   x)
Value:
{&_ATL_IIDOF(x), \
offsetofclass(x, _ComMapClass), \
_ATL_SIMPLEMAPENTRY},
#define _ATL_IIDOF(x)
Definition: Msi_atlcom.h:52

◆ COM_INTERFACE_ENTRY2

#define COM_INTERFACE_ENTRY2 (   x,
  x2 
)
Value:
{&_ATL_IIDOF(x),\
(DWORD_PTR)((x*)(x2*)((_ComMapClass*)8))-8,\
_ATL_SIMPLEMAPENTRY},
unsigned long DWORD_PTR
Definition: Msi_atlbase.h:34
#define _ATL_IIDOF(x)
Definition: Msi_atlcom.h:52

◆ COM_INTERFACE_ENTRY_AGGREGATE

#define COM_INTERFACE_ENTRY_AGGREGATE (   iid,
  punk 
)
Value:
{&iid,\
(DWORD)offsetof(_ComMapClass, punk),\
_Delegate},
#define offsetof(s, m)
Definition: Msi_atldef.h:38
unsigned long DWORD
Definition: PDCwtypes.h:121

◆ COM_INTERFACE_ENTRY_CHAIN

#define COM_INTERFACE_ENTRY_CHAIN (   classname)
Value:
{NULL,\
_Chain},
Definition: Msi_atlcom.h:158
unsigned long DWORD_PTR
Definition: Msi_atlbase.h:34
#define NULL
Definition: Null.h:10

◆ COM_INTERFACE_ENTRY_IID

#define COM_INTERFACE_ENTRY_IID (   iid,
 
)
Value:
{&iid,\
offsetofclass(x, _ComMapClass),\
_ATL_SIMPLEMAPENTRY},

◆ COM_INTERFACE_ENTRY_IMPL

#define COM_INTERFACE_ENTRY_IMPL (   x)    COM_INTERFACE_ENTRY_IID(_ATL_IIDOF(x), x##Impl<_ComMapClass>)

◆ CONNECTION_POINT_ENTRY

#define CONNECTION_POINT_ENTRY (   iid)

◆ DECLARE_AGGREGATABLE

#define DECLARE_AGGREGATABLE (   x)
Value:
public:\
Definition: Msi_atlcom.h:690
Definition: Msi_atlcom.h:655

◆ DECLARE_CLASSFACTORY

#define DECLARE_CLASSFACTORY ( )    DECLARE_CLASSFACTORY_EX(CComClassFactory)

◆ DECLARE_CLASSFACTORY_EX

#define DECLARE_CLASSFACTORY_EX (   cf)    typedef CComCreator< CComObjectCachedClassFactory< cf > > _ClassFactoryCreatorClass;

◆ DECLARE_GET_CONTROLLING_UNKNOWN

#define DECLARE_GET_CONTROLLING_UNKNOWN ( )
Value:
public:\
virtual IUnknown* GetControllingUnknown() {return GetUnknown();}
Definition: Msi_oaidl.h:41

◆ DECLARE_NOT_AGGREGATABLE

#define DECLARE_NOT_AGGREGATABLE (   x)
Value:
public:\
Definition: Msi_atlcom.h:680
Definition: Msi_atlcom.h:690

◆ DECLARE_ONLY_AGGREGATABLE

#define DECLARE_ONLY_AGGREGATABLE (   x)
Value:
public:\
Definition: Msi_atlcom.h:690
Definition: Msi_atlcom.h:655

◆ DECLARE_PROTECT_FINAL_CONSTRUCT

#define DECLARE_PROTECT_FINAL_CONSTRUCT ( )
Value:
void InternalFinalConstructAddRef() {InternalAddRef();}\
void InternalFinalConstructRelease() {InternalRelease();}

◆ DECLARE_REGISTRY_RESOURCEID

#define DECLARE_REGISTRY_RESOURCEID (   x)

◆ END_COM_MAP

#define END_COM_MAP ( )    {NULL, 0, 0}}; return _entries;}

◆ END_CONNECTION_POINT_MAP

#define END_CONNECTION_POINT_MAP ( )

◆ END_OBJECT_MAP

#define END_OBJECT_MAP ( )    {NULL, NULL, NULL}};

◆ HIWORD

#define HIWORD (   l)    ((WORD)(((DWORD_PTR)(l) >> 16) & 0xFFFF))

◆ LOWORD

#define LOWORD (   l)    ((WORD)(l))

◆ MAKEINTRESOURCE

#define MAKEINTRESOURCE (   i)    (LPWSTR)((DWORD)((WORD)(i)))

◆ MSI_min

#define MSI_min (   a,
 
)    (((a) < (b)) ? (a) : (b))

◆ OBJECT_ENTRY

#define OBJECT_ENTRY (   clsid,
  class 
)
Value:
{\
&clsid,\
class::_ClassFactoryCreatorClass::CreateInstance,\
class::_CreatorClass::CreateInstance },\