Intel® Fortran Compiler 16.0 User and Reference Guide

COMGetActiveObjectByGUID (W*S)

COM Subroutine: Passes a class identifier and returns a pointer to the interface of a currently active object.

Module

USE IFCOM

USE IFWINTY

CALL COMGetActiveObjectByGUID (clsid,iid,interface,status)

clsid

The class identifier of the class of object to be found. Must be of type GUID, which is defined in the IFWINTY module.

iid

The interface identifier of the interface being requested. Must be of type GUID, which is defined in the IFWINTY module.

interface

An output argument that returns the object's interface pointer. Must be of type INTEGER(INT_PTR_KIND()).

status

The status of the operation. It can be any status returned by GetActiveObject. Must be of type INTEGER(4).