Increments the reference count for the interfaced object's interface.
function _AddRef: Integer; stdcall;
__fastcall __stdcall int _AddRef();
__AddRef implements the IInterface method, __AddRef, which increments the reference count of an interface and returns the current reference count.
If the interfaced persistent object has an Owner and that owner supports an interface, then __AddRef simply calls the __AddRef method of the Owner. Otherwise, it simply returns –1.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!