CComDispatchDriver::CComDispatchDriver

CComDispatchDriver( );

CComDispatchDriver( IDispatch* lp );

CComDispatchDriver( IUnknown* lp );

Parameters

lp

[in] Pointer to an IDispatch or IUnknown interface.

Remarks

The constructor. If there is no lp parameter, the constructor initializes the data member p to NULL. If lp points to an IDispatch interface, the constructor sets p to that interface and calls AddRef. If lp points to an IUnknown interface, the constructor calls QueryInterface for the IDispatch interface and sets p to that interface.

The destructor calls Release on p, if necessary.

CComDispatchDriver OverviewClass Members