System.Win.ComObj.TComObject.ObjAddRef

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ObjAddRef: Integer; virtual; stdcall;

C++

virtual int __stdcall ObjAddRef();

Properties

Type Visibility Source Unit Parent
function public
System.Win.ComObj.pas
System.Win.ComObj.hpp
System.Win.ComObj TComObject

Description

Implements the AddRef method of the IUnknown interface.

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