5/9/08

What is a COM map and how is it used?

A COM map is an element of your class declaration that contains a list of the interfaces that your COM object supports. Add an entry to the COM map by using the
COM_INTERFACE_ENTRY macro. Whenever a client application executes QueryInterface(), the
object searches this map for a matching interface GUID. If a match is found, the
corresponding interface pointer is returned to the client.

No comments: