This operator returns the address of the IDispatch interface pointer stored in the data member p. The operation will assert if p is non-NULL. This operator avoids memory leaks if you want to set p without releasing it first.
IDispatch** operator &( );
| Header file: | Atlctl.h |
| Platforms: | |
| Versions: | Version 2.0 and later |
| Complete documentation: | Visual C++ documentation |
CComDispatchDriver Overview, CComDispatchDriver Operators