COM Library
|
The implementaion of IDispatch. More...
#include <IDispatchImpl.hpp>
Public Member Functions | |
IDispatchImpl (const IID &oDIID) | |
Full constructor. | |
virtual | ~IDispatchImpl () |
Destructor. | |
virtual HRESULT COMCALL | GetTypeInfoCount (UINT *pnInfo) |
Get the number of type information interfaces supported. | |
virtual HRESULT COMCALL | GetTypeInfo (UINT nInfo, LCID dwLCID, ITypeInfo **ppTypeInfo) |
Get the type information for an object. | |
virtual HRESULT COMCALL | GetIDsOfNames (REFIID rIID, LPOLESTR *aszNames, UINT nNames, LCID dwLCID, DISPID *alMemberIDs) |
Map a number of names to their dispatch IDs. | |
virtual HRESULT COMCALL | Invoke (DISPID lMemberID, REFIID rIID, LCID dwLCID, WORD wFlags, DISPPARAMS *pParams, VARIANT *pResult, EXCEPINFO *pExcepInfo, UINT *pnArgError) |
Invoke a method or access a property. | |
Private Types | |
typedef WCL::IFacePtr< ITypeLib > | ITypeLibPtr |
typedef WCL::IFacePtr< ITypeInfo > | ITypeInfoPtr |
Private Member Functions | |
void | LoadTypeInfo () |
Load the type information. | |
Private Attributes | |
IID | m_oDIID |
The dual interface ID. | |
ITypeLibPtr | m_pTypeLib |
The type library. | |
ITypeInfoPtr | m_pTypeInfo |
The interface type information. |
The implementaion of IDispatch.
typedef WCL::IFacePtr<ITypeLib> COM::IDispatchImpl< T >::ITypeLibPtr [private] |
typedef WCL::IFacePtr<ITypeInfo> COM::IDispatchImpl< T >::ITypeInfoPtr [private] |
COM::IDispatchImpl< T >::IDispatchImpl | ( | const IID & | oDIID | ) |
Full constructor.
COM::IDispatchImpl< T >::~IDispatchImpl | ( | ) | [virtual] |
Destructor.
HRESULT COMCALL COM::IDispatchImpl< T >::GetTypeInfoCount | ( | UINT * | pnInfo | ) | [virtual] |
Get the number of type information interfaces supported.
HRESULT COMCALL COM::IDispatchImpl< T >::GetTypeInfo | ( | UINT | nInfo, |
LCID | dwLCID, | ||
ITypeInfo ** | ppTypeInfo | ||
) | [virtual] |
Get the type information for an object.
HRESULT COMCALL COM::IDispatchImpl< T >::GetIDsOfNames | ( | REFIID | rIID, |
LPOLESTR * | aszNames, | ||
UINT | nNames, | ||
LCID | dwLCID, | ||
DISPID * | alMemberIDs | ||
) | [virtual] |
Map a number of names to their dispatch IDs.
HRESULT COMCALL COM::IDispatchImpl< T >::Invoke | ( | DISPID | lMemberID, |
REFIID | rIID, | ||
LCID | dwLCID, | ||
WORD | wFlags, | ||
DISPPARAMS * | pParams, | ||
VARIANT * | pResult, | ||
EXCEPINFO * | pExcepInfo, | ||
UINT * | pnArgError | ||
) | [virtual] |
Invoke a method or access a property.
void COM::IDispatchImpl< T >::LoadTypeInfo | ( | ) | [private] |
Load the type information.
IID COM::IDispatchImpl< T >::m_oDIID [private] |
The dual interface ID.
ITypeLibPtr COM::IDispatchImpl< T >::m_pTypeLib [private] |
The type library.
ITypeInfoPtr COM::IDispatchImpl< T >::m_pTypeInfo [private] |
The interface type information.