title ActivationFactory::Release Method | Microsoft Docs ms.custom ms.date 11/04/2016 ms.reviewer ms.suite ms.technology cpp-windows ms.tgt_pltfrm ms.topic reference f1_keywords module/Microsoft::WRL::ActivationFactory::Release dev_langs C++ helpviewer_keywords Release method ms.assetid 5bc25ff0-ee3c-4a2d-a9b6-2d8f158033ad caps.latest.revision 3 author mikeblome ms.author mblome manager ghogen translation.priority.ht de-de es-es fr-fr it-it ja-jp ko-kr ru-ru zh-cn zh-tw translation.priority.mt cs-cz pl-pl pt-br tr-tr ActivationFactory::Release Method Decrements the reference count of the current ActivationFactory object. Syntax STDMETHOD_( ULONG, Release )(); Return Value S_OK if successful; otherwise, an HRESULT that describes the failure. Requirements Header: module.h Namespace: Microsoft::WRL See Also ActivationFactory Class