Vcl.OleServer.TOleServer._Release
Delphi
function _Release: Integer; stdcall;
C++
HIDESBASE int __stdcall _Release();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.OleServer.pas Vcl.OleServer.hpp |
Vcl.OleServer | TOleServer |
Description
Decrements the reference count for the calling interface on a object.
_Release implements the IUnknown interface method, Release, which decrements the reference count of objects using the OLE server's interface. If the reference count on the interface falls to 0, the server object is freed from memory.
_Release returns the resulting value of the reference count.