COM Subroutine: Passes an interface identifier and returns a pointer to an object's interface.
USE IFCOM
USE IFWINTY
CALL COMQueryInterface (iunknown,iid,interface,status)
iunknown |
An IUnknown interface pointer. Must be of type INTEGER(4). |
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 the IUnknown method QueryInterface. Must be of type INTEGER(4). |
IUnknown::QueryInterface in the Microsoft* Platform SDK
Using the Intel(R) Fortran Module Wizard (COM Client) in Key Features: Fortran Language Extensions
Copyright © 1996-2011, Intel Corporation. All rights reserved.