共用方式為


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

Concepts

CComPtrBase Class

CComPtrBase Members