Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

Requirements

Header: atlcom.h

Show: