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 )
[in] The CLSID of a COM class implemented by the C++ class named 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.