Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 830 Bytes

File metadata and controls

32 lines (26 loc) · 830 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