Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 931 Bytes

File metadata and controls

39 lines (31 loc) · 931 Bytes
title _com_ptr_t::Release | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-language
ms.tgt_pltfrm
ms.topic language-reference
f1_keywords
_com_ptr_t.Release
_com_ptr_t::Release
dev_langs
C++
helpviewer_keywords
Release method [C++]
ms.assetid db448b34-0efa-4f02-b701-ad1ca3ae6ca5
caps.latest.revision 6
author mikeblome
ms.author mblome
manager ghogen
ms.workload
cplusplus

_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