Share via


OBJECT_ENTRY

OBJECT_ENTRY( clsid**,** class )

Parameters

clsid

[in] The CLSID of the ATL object to be entered into the object map.

class

[in] The name of the class of the ATL object.

Remarks

Enters the function pointers of the creator class and class-factory creator class CreateInstance functions for this object into the ATL object map. When CComModule::RegisterServer is called, it updates the system registry for each object in the object map.

Start your object map with the BEGIN_OBJECT_MAP macro, add entries for each object with the OBJECT_ENTRY macro, and complete the map with the END_OBJECT_MAP macro.

ATL Macros and Global Functions

See Also

OBJECT_ENTRY_NON_CREATEABLE, DECLARE_OBJECT_DESCRIPTION