RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TComObject.ObjAddRef Method

Implements the AddRef method of the IUnknown interface.

Pascal
function ObjAddRef: Integer; virtual; stdcall;
C++
virtual __fastcall __stdcall int ObjAddRef();

ObjAddRef is used as the implementation of the IUnknown AddRef method, incrementing the reference count for the object. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!