This method is 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.
CComDispatchDriver( );
CComDispatchDriver( IDispatch* lp );
CComDispatchDriver( IUnknown* lp ));
Header file: | Atlctl.h |
Platforms: | |
Versions: | Version 2.0 and later |
Complete documentation: | Visual C++ documentation |
CComDispatchDriver Overview, CComDispatchDriver Methods