Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

COMReleaseObject

COM Function: Indicates that the program is done with a reference to an object's interface. This routine is only available for Windows.

Module

USE IFCOM

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.