共用方式為


Object Map Macros

These macros define object maps and entries.

DECLARE_OBJECT_DESCRIPTION

Allows you to specify a class object's text description, which will be entered into the object map.

OBJECT_ENTRY_AUTO

Enters an ATL object into the object map, updates the registry, and creates an instance of the object.

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.

See Also

Other Resources

ATL Macros