共用方式為


CComPtrBase::operator *

The * operator.

T & operator *( ) const throw( );

Return Value

Returns the value of CComPtrBase::p; that is, a pointer to the object referenced by the CComPtrBase object.

If debug builds, an assertion error will occur if CComPtrBase::p is not equal to NULL.

Requirements

Header: atlcomcli.h

See Also

Reference

CComPtrBase Class

Other Resources

CComPtrBase Members