Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 899 Bytes

File metadata and controls

40 lines (34 loc) · 899 Bytes
title ActivationFactory::AddRef 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::AddRef
dev_langs
C++
helpviewer_keywords
AddRef method
ms.assetid dfe96189-ddbe-410a-9f8d-5d8ecc8cc7e6
caps.latest.revision 3
author mikeblome
ms.author mblome
manager ghogen

ActivationFactory::AddRef Method

Increments the reference count of the current ActivationFactory object.

Syntax

STDMETHOD_(  
   ULONG,  
   AddRef  
)();  

Return Value

S_OK if successful; otherwise, an HRESULT that describes the failure.

Requirements

Header: module.h

Namespace: Microsoft::WRL

See Also

ActivationFactory Class