Class TNonRefCountedInterfacedObject

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TNonRefCountedInterfacedObject = class(IInterface)

Description

A class that can use interfaces and is not reference counted.

For COM-style interfaces, it's needed to descend from this to provide dumb _AddRef and _Release implementations (that do nothing) and trivial QueryInterface implementation.

See e.g. thread [http://lists.freepascal.org/lists/fpc-devel/2007-November/012060.html].

Hierarchy

  • IInterface
  • TNonRefCountedInterfacedObject

Overview

Methods

Protected function _AddRef: Integer; cdecl;
Protected function _Release: Integer; cdecl;
Protected function QueryInterface( constref IID: TGUID; out Obj): Hresult; virtual; cdecl;

Description

Methods

Protected function _AddRef: Integer; cdecl;
 
Protected function _Release: Integer; cdecl;
 
Protected function QueryInterface( constref IID: TGUID; out Obj): Hresult; virtual; cdecl;
 

Generated by PasDoc 0.13.0 on 2014-04-30 22:06:43