RuntimeClass::AddRef Method

Increments the reference count for the current RuntimeClass object.

STDMETHOD_(
   ULONG,
   AddRef
)();

Return Value

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

Requirements

Header: implements.h

Namespace: Microsoft::WRL

See Also

Reference

RuntimeClass Class