OBJECT_ENTRY
The OBJECT_ENTRY macro is obsolete. It is provided for backward compatibility. Use OBJECT_ENTRY_AUTO.
Object entry macros can be placed in the object map to provide support for the registration, initialization, and creation of a class.
OBJECT_ENTRY( clsid, class )
Параметры
clsid
[in] The CLSID of a COM class implemented by the C++ class named class.class
[in] The name of the C++ class implementing the COM class represented by clsid.
Заметки
Start your object map with the BEGIN_OBJECT_MAP macro, add entries for each object with the OBJECT_ENTRY or OBJECT_ENTRY_NON_CREATEABLE_EX_AUTO macro, and complete the map with the END_OBJECT_MAP macro.
The table below describes how the information added to the object map is obtained from the class given as the second parameter to this macro.
Information for |
Obtained from |
---|---|
COM registration |
|
Class factory creation |
|
Instance creation |
|
Component category registration |
|
Class-level initialization and cleanup |
Требования
Header: atlcom.h