共用方式為


CComPtrBase::operator ==

The equality operator.

bool operator ==(
   T * pT 
) const throw( );

Parameters

  • pT
    A pointer to an object.

Return Value

Returns true if CComPtrBase and pT point to the same object, false otherwise.

Requirements

Header: atlcomcli.h

See Also

Concepts

CComPtrBase Class

CComPtrBase Members