다음을 통해 공유


_com_ptr_t::AddRef

 

The latest version of this topic can be found at _com_ptr_t::AddRef.

Microsoft Specific**

Calls the AddRef member function of IUnknown on the encapsulated interface pointer.

Syntax

  
void AddRef( );  
  

Remarks

Calls IUnknown::AddRef on the encapsulated interface pointer, raising an E_POINTER error if the pointer is NULL.

END Microsoft Specific

See Also

_com_ptr_t Class