RuntimeClass::AddRef Method
Visual Studio 2015
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 RuntimeClass::AddRef Method.
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
Show: