Share via


_com_ptr_t::Release

 

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

Microsoft Specific**

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

Syntax

  
void Release( );  
  

Remarks

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

END Microsoft Specific

See Also

_com_ptr_t Class