NextPrevUpTopContentsIndex

get-i-dispatch-name

Function
Summary

Returns the foreign name of an i-dispatch interface.

Package

com

Signature

get-i-dispatch-name i-dispatch => name

Arguments

i-dispatch

An i-dispatch interface.

Values

name

A string.

Description

The function get-i-dispatch-name returns the foreign name of an i-dispatch interface. That is, it obtains the first return value of ITypeInfo::GetDocumentation .

Example

To implement code like this:

If TypeOf objMap.Selection Is Pushpin Then
...

you would need something like:

(if (equalp (COM:get-i-dispatch-name selection) 
            "PushPin")
    ...)

LispWorks COM/Automation User Guide and Reference Manual - 21 Feb 2008

NextPrevUpTopContentsIndex