рефераты конспекты курсовые дипломные лекции шпоры

Реферат Курсовая Конспект

END_CLASS_MAP

END_CLASS_MAP - раздел Образование, ABSTRACT   The End_Class_Map Macro Is Provided To Flag ...

 

The END_CLASS_MAP macro is provided to flag the end of the Map list.

 

Classes also may also be instanced without a call to CoCreateInstance. If your class does not need to be instanced through this procedure, you need not include it in the ClassMap. All an object needs to be instanced is its describing ClassItem, and this reference may be passed to the AllocObject method to create helper or internal COM objects.

 

A reference to a TypeLibInfo structure provided for in the ClassItem structure. TypeLibInfo defines the Type Library to be used for a class. Type Libraries are very important for this implementation, as the CoLib IDispatch interface implementation needs this type information to perform its tasks. This parameter may be left NULL for objects that do not support IDispatch. See MSDN regarding the ITypeInfo interface to discover how a type library can support IDispatch.

 

TypeLibInfo STRUCT

m_pIID_TYPELIB DWORD ; reference to the ID (refid) for

; this type lib

m_MajorVer DWORD ; Major Version of type lib

m_MinorVer DWORD ; Minor Version of type lib

TypeLibInfo ENDS

 

 

Each object that may be served from the project dll will need its particular TypeLibInfo.

 

An InterfaceMap is an array of InterfaceItem structures. This allows each object to define which interfaces it supports, and to be cast to any of these interfaces.

 

 

InterfaceMap:

InterfaceItem1 InterfaceItem{ }

InterfaceItem2 InterfaceItem { }

...

InterfaceItemN InterfaceItem{ }

– Конец работы –

Эта тема принадлежит разделу:

ABSTRACT

Copyright by Ernest Murphy ernie surfree com... For educational use only All commercial use only by written license...

Если Вам нужно дополнительный материал на эту тему, или Вы не нашли то, что искали, рекомендуем воспользоваться поиском по нашей базе работ: END_CLASS_MAP

Что будем делать с полученным материалом:

Если этот материал оказался полезным ля Вас, Вы можете сохранить его на свою страничку в социальных сетях:

Все темы данного раздела:

END_INTERFACE_MAP
  The END_INTERFACE_MAP macro is provided to flag the end of the Map list.   Each object that may be served from the dll will need its particul

ObjectData
    The ProjectData structure is custom to each class and must be defined by the project for each class. There are no limits on the size or makeup of th

M_Flags
Various flags controlling the object. This member can include zero or a combination of the following values:     AGGREGATABLE Object

M_pBase
reference to base address of this object     TypeLibInfo

END_OF_INTERFACEMAP
A macro to define a NULL InterfaceItem element to signify the end of the InterfaceMap.  

M_DataItemN
This structure, and the data defined are arbitrary, for example only. Each particular class needs to define its own custom data structure in the project file.  

ObjectEntryN
An ObjectEntry structure. Each class needs N+1 ObjectEntry structures in sequence to support N interfaces.  

VarValue
Variable value of the VARIANT being defined.  

PObject
Object reference, the this_ parameter passed to an class method. reg Name of the register to return the cast. _offsetl

PObject
Object reference, the this_ parameter passed to an class method. reg Name of the register to return the cast. _offsetl

ComPtrAssign PROC
pp:DWORD,// reference of variable to receive a pointer lp:DWORD// reference to existing COM pointer Parameters

ComQIPtrAssign PROC
pp:DWORD,// reference of variable to receive a pointer lp:DWORD// reference to existing COM pointer riid

Хотите получать на электронную почту самые свежие новости?
Education Insider Sample
Подпишитесь на Нашу рассылку
Наша политика приватности обеспечивает 100% безопасность и анонимность Ваших E-Mail
Реклама
Соответствующий теме материал
  • Похожее
  • Популярное
  • Облако тегов
  • Здесь
  • Временно
  • Пусто
Теги