COMCreateObjectByProgID (W*32)

COM Subroutine: Passes a programmatic identifier, creates an instance of an object, and returns a pointer to the object's IDispatch interface.

Module

USE IFCOM

構文

CALL COMCreateObjectByProgID (prog_id,idispatch,status)

prog_id

The programmatic identifier of type CHARACTER*(*).

idispatch

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

status

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

関連情報


このヘルプトピックについてのフィードバックを送信

© 1996-2011 Intel Corporation. 無断での引用、転載を禁じます。