Partager via


ActivationFactory::AddRef Method

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at 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