Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 842 Bytes

File metadata and controls

34 lines (26 loc) · 842 Bytes
title _com_ptr_t::Release | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.technology
cpp-language
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
author mikeblome
ms.author mblome
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