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

ID 767251
Date 9/08/2022
Public

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

Document Table of Contents

AUTOSetProperty

AUTO Function: Passes the name or identifier of the property and a value, and sets the value of the automation object's property. This routine is only available for Windows.

Module

USE IFAUTO

USE IFWINTY

result = AUTOSetProperty (idispatch,id,value[,type])

idispatch

The object's IDispatch interface pointer. Must be of type INTEGER(INT_PTR_KIND()).

id

The argument's name of type CHARACTER*(*), or its member ID of type INTEGER(4).

value

The argument's value. Must be of type INTEGER(2), INTEGER(4), REAL(4), REAL(8), LOGICAL(2), LOGICAL(4), CHARACTER*(*), or a single dimension array of one of these types.

type

The variant type of the argument. Must be one of the following constants defined in the IFWINTY module:

VARIANT Type

Value Type

VT_I2

INTEGER(2)

VT_I4

INTEGER(4)

VT_R4

REAL(4)

VT_R8

REAL(8)

VT_CY

REAL(8)

VT_DATE

REAL(8)

VT_BSTR

CHARACTER*(*)

VT_DISPATCH

INTEGER(4)

VT_ERROR

INTEGER(4)

VT_BOOL

LOGICAL(2)

VT_UNKNOWN

INTEGER(4)

Results

Returns an HRESULT describing the status of the operation. Must be of type INTEGER(4).