If there is no lp parameter, this constructor initializes the p data member 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.
At a Glance
Header file: | Atlctl.h |
Windows CE versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
Syntax
CComDispatchDriver( );
CComDispatchDriver( IDispatch* lp );
CComDispatchDriver( IUnknown* lp ));