Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 1.01 KB

dispatch-mapper.md

File metadata and controls

20 lines (12 loc) · 1.01 KB
description ms.assetid title ms.topic ms.date
The Dispatch Mapper is created using COM CoCreateInstance and exposes one interface, ITDispatchMapper.
435034e1-d90c-4bad-8758-8a627d88875f
Dispatch Mapper
article
05/31/2018

Dispatch Mapper

The Dispatch Mapper is created using COM CoCreateInstance and exposes one interface, ITDispatchMapper. This interface allows an application to retrieve the dispatch pointer of another interface on an object, given the dispatch pointer of one interface and the GUID of another. This interface is provided to assist programmers using scripting applications which do not provide a means of readily polling the interfaces on an object.

The Dispatch Mapper uses an object's IObjectSafety interface to make sure the object is safe for scripting on the requested interface. If the object does not implement IObjectSafety, or if the object is not safe on this particular interface, the call will fail.