COMReleaseObject (W*32)

COM Function: Indicates that the program is done with a reference to an object's interface.

Module

USE IFCOM

Syntax

result = COMReleaseObject (iunknown)

iunknown

An IUnknown interface pointer. Must be of type INTEGER(INT_PTR_KIND()).

Results

The result type is INTEGER(4). It is the object's current reference count.

Example

See the example in COMInitialize.


Submit feedback on this help topic

Copyright © 1996-2011, Intel Corporation. All rights reserved.