Поделиться через


OBJECT_ENTRY_NON_CREATEABLE_EX_AUTO

Allows you to specify that the object should be registered and initialized, but it should not be externally creatable via CoCreateInstance.

OBJECT_ENTRY_NON_CREATEABLE_EX_AUTO( 
      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.

Заметки

Object entry macros are placed at global scope in the project to provide support for the registration, initialization, and creation of a class.

OBJECT_ENTRY_NON_CREATEABLE_EX_AUTO allows you to specify that an object should be registered and initialized (see OBJECT_ENTRY_AUTO for more information), but it should not be creatable via CoCreateInstance.

Требования

Header: atlcom.h

См. также

Основные понятия

Object Map Macros

ATL Macros

OBJECT_ENTRY_AUTO

Obsolete ATL Topics

OBJECT_ENTRY

OBJECT_ENTRY_NON_CREATEABLE