RuntimeClass::AddRef Method

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

Increments the reference count for the current RuntimeClass object.

STDMETHOD_(  
   ULONG,  
   AddRef  
)();  

S_OK if successful; otherwise, an HRESULT that indicates the error.

Header: implements.h

Namespace: Microsoft::WRL

RuntimeClass Class

Show: