Castle Game Engine: CastleInterfaces: Class TNonRefCountedInterfacedObject

# Class TNonRefCountedInterfacedObject
Description | Hierarchy | Fields | Methods | Properties
## Unit CastleInterfaces ## 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
| `function _AddRef: Integer; cdecl;`
| `function _Release: Integer; cdecl;`
| `function QueryInterface( constref IID: TGUID; out Obj): Hresult; virtual; cdecl;`
## Description ### Methods
| `function _AddRef: Integer; cdecl;`
| `function _Release: Integer; cdecl;`
| `function QueryInterface( constref IID: TGUID; out Obj): Hresult; virtual; cdecl;`
Generated by PasDoc 0.13.0 on 2015-06-15 04:43:10