CComDispatchDriver::operator &

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.

Syntax

IDispatch** operator &( );

At a Glance

Header file: Atlctl.h
Platforms:
Versions: Version 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CComDispatchDriver Overview, CComDispatchDriver Operators